rts: Ensure that the_gc_thread is aligned
authorBen Gamari <ben@smart-cactus.org>
Mon, 6 Aug 2018 18:52:59 +0000 (14:52 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 6 Aug 2018 22:32:44 +0000 (18:32 -0400)
commit87a79e394013e5f722496900227b126015d0d780
treead457a44fb78662d5a009435d4617e575c60e2d0
parent9f1b1abea146e0bbfe5565310b47f116d96bd503
rts: Ensure that the_gc_thread is aligned

Since we cast this to a gc_thread the compiler may assume that it's aligned.
Make sure that this is so. Fixes #15482.

(cherry picked from commit c6cc93bca69abc258513af8cf2370b14e70fd8fb)
rts/sm/GC.c