summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-05-14 08:48:42 -0400
committerBen Gamari <ben@smart-cactus.org>2018-05-14 08:49:51 -0400
commit1e2720949a406f45b807fad69e7409777607f275 (patch)
treeb23d37281024acf528edb8a6cd4d8824608f61f0 /rts
parente408d03b512f353067879ecdb5be4b6e48cf0431 (diff)
downloadhaskell-1e2720949a406f45b807fad69e7409777607f275.tar.gz
Revert "rts: Compile with gcc -Og"
This reverts commit d4abd031f6e8c2fa01f8949f60d8a02cca513804.
Diffstat (limited to 'rts')
-rw-r--r--rts/ghc.mk2
-rw-r--r--rts/sm/Sanity.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index 2976b0aac9..e96e14760b 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -153,7 +153,7 @@ rts_dist_$1_CC_OPTS := $$(GhcRtsCcOpts)
# The per-way CC_OPTS
ifneq "$$(findstring debug, $1)" ""
rts_dist_$1_HC_OPTS += -O0
-rts_dist_$1_CC_OPTS += -fno-omit-frame-pointer -g -Og
+rts_dist_$1_CC_OPTS += -fno-omit-frame-pointer -g -O0
endif
ifneq "$$(findstring dyn, $1)" ""
diff --git a/rts/sm/Sanity.c b/rts/sm/Sanity.c
index 23a20b2cb2..7a0ad1672f 100644
--- a/rts/sm/Sanity.c
+++ b/rts/sm/Sanity.c
@@ -481,7 +481,7 @@ checkCompactObjects(bdescr *bd)
// before the actual closure
for ( ; bd != NULL; bd = bd->link) {
- StgCompactNFDataBlock *block, *last = NULL;
+ StgCompactNFDataBlock *block, *last;
StgCompactNFData *str;
StgWord totalW;