[Bug rtl-optimization/48473] New: [4.7 Regression] libstdc++-v3/testsuite/decimal/incdec.cc FAILs with -O -fno-tree-dce -fno-tree-fre -fno-tree-sra -m32
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Tue Apr 5 21:30:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48473
Summary: [4.7 Regression]
libstdc++-v3/testsuite/decimal/incdec.cc FAILs with -O
-fno-tree-dce -fno-tree-fre -fno-tree-sra -m32
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Host: x86_64-pc-linux-gnu
Target: i686-pc-linux-gnu
Created attachment 23889
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23889
reduced testcase
Output:
$ g++ -m32 -O -fno-tree-dce -fno-tree-fre -fno-tree-sra testcase.C
$ ./a.out
Aborted
Diff between 4.6 and 4.7 output shows this:
L8:
mov DWORD PTR [esp+4], 847249419 #,
+ mov DWORD PTR [esp], 847249419 #,
call __bid_nesd2 #
There seems to be one store to [esp] missing in 4.7 (marked by "+").
Tested revisions:
r171998 - fail
4.6 r171597 - OK
More information about the Gcc-bugs
mailing list