summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-08-08 18:59:44 -0400
committerBen Gamari <ben@smart-cactus.org>2018-08-08 18:59:44 -0400
commit6d68553346af842e390b9e8bab846482e50930a2 (patch)
treeda6daac461870f229fc681bf1f6315fc9bab583d
parent9228a13b1217f86dabe74b9072e7054abfb57fbd (diff)
downloadhaskell-6d68553346af842e390b9e8bab846482e50930a2.tar.gz
Revert "rts: Ensure that the_gc_thread is aligned"
This reverts commit 87a79e394013e5f722496900227b126015d0d780.
-rw-r--r--rts/sm/GC.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/rts/sm/GC.c b/rts/sm/GC.c
index bd4a81c23c..67eba93d52 100644
--- a/rts/sm/GC.c
+++ b/rts/sm/GC.c
@@ -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