Revert "rts: Ensure that the_gc_thread is aligned" ghc-8.6.1-beta1
authorBen Gamari <ben@smart-cactus.org>
Fri, 10 Aug 2018 13:21:05 +0000 (09:21 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 10 Aug 2018 13:21:05 +0000 (09:21 -0400)
This reverts commit 87a79e394013e5f722496900227b126015d0d780.

rts/sm/GC.c

index bd4a81c..67eba93 100644 (file)
@@ -128,11 +128,7 @@ uint32_t mutlist_MUTVARS,
 gc_thread **gc_threads = NULL;
 
 #if !defined(THREADED_RTS)
-/* Use conservative alignment since we will cast this to a gc_thread and
- * consequently the compiler may assume it is aligned. See #15482.
- */
-StgWord8 the_gc_thread[sizeof(gc_thread) + 64 * sizeof(gen_workspace)]
-    __attribute__((aligned(sizeof(W_))));
+StgWord8 the_gc_thread[sizeof(gc_thread) + 64 * sizeof(gen_workspace)];
 #endif
 
 // Number of threads running in *this* GC.  Affects how many