Opened 5 months ago

Last modified 3 months ago

#8525 new bug

lib/integer/integerConstantFolding fails with -DDEBUG

Reported by: nomeata Owned by:
Priority: normal Milestone:
Component: Test Suite Version: 7.6.3
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty: Unknown
Test Case: integerConstantFolding Blocked By:
Blocking: Related Tickets:

Description

Hi,

with -DDEBUG in GhcStage2HcOpts, the test integerConstantFolding fails:

=====> integerConstantFolding(normal) 1103 of 3814 [0, 1, 0] 
cd ./lib/integer && $MAKE -s --no-print-directory integerConstantFolding    </dev/null >integerConstantFolding.run.stdout 2>integerConstantFolding.run.stderr
Actual stderr output differs from expected:
--- /dev/null	2013-11-12 10:54:14.804286745 +0100
+++ ./lib/integer/integerConstantFolding.run.stderr	2013-11-12 15:33:12.384669953 +0100
@@ -0,0 +1,62 @@
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl{v r3Ok} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl4{v r3Oo} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl8{v r3Os} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl12{v r3Ow} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    ww1{v r3OO} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl48{v r3P7} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl52{v r3Pb} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl56{v r3Pf} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl60{v r3Pj} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl64{v r3Pn} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl68{v r3Pr} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    ww2{v r3Pv} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    ww3{v r3Pw} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    ww4{v r3PG} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    ww5{v r3PH} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl90{v r3PR} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl94{v r3PV} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl98{v r3PZ} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl102{v r3Q3} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl106{v r3Q7} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl110{v r3Qb} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl134{v r3Qz} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl138{v r3QD} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl142{v r3QH} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl146{v r3QL} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl153{v r3QS} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl161{v r3R0} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl165{v r3R4} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl169{v r3R8} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl173{v r3Rc} [gid] True False
+WARNING: file compiler/stgSyn/CoreToStg.lhs, line 269
+    lvl177{v r3Rg} [gid] True False
*** unexpected failure for integerConstantFolding(normal)

The warning is in consistentCafInfo source:compiler/stgSyn/CoreToStg.lhs and was was last touched by SPJ in [fdf86568], and originally introduced by simmonmar in 2e6d322e130a8c37807a14699bbcbf9eb08fc970.

Change History (4)

comment:1 Changed 5 months ago by Joachim Breitner <mail@…>

In 9f10d5ba0fae4357f962032dda1be5316c16db1b/testsuite:

Mark tests as expect_broken when borken with -DDEBUG

The related bugs are #8553 and #8525.

comment:2 Changed 5 months ago by simonpj

I don't think this has anything to do with #8553

comment:3 Changed 5 months ago by nomeata

I wasn’t implying that; just the referenced patch marks all tests as broken that were broken by using -DDEBUG. I’ll push two patches next time to reduce the confusion.

comment:4 Changed 3 months ago by nomeata

I still get this warning a lot, also when compiling the standard libraries. Is this something to worry about? If so, is this relevant for the 7.8 release? If not; maybe we should remove the warning?

Note: See TracTickets for help on using tickets.