------- Comment #6 from hjl dot tools at gmail dot com 2010-08-26 20:02 ------- (In reply to comment #4) > Created an attachment (id=21574) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21574&action=view) [edit] > different testcase > > Thank you for answers! This not yet reduced testcase fails in a similiar way > (r163468, x86_64-linux). It needs only -O2 to reproduce. > > $ gcc -std=gnu++0x -fcompare-debug -O2 040.ii -w > gcc: error: 040.ii: -fcompare-debug failure (length) > $ diff 040.*gkd > 54739c54739 > < (const_int 8 [0x8]))) [ MEM[(const struct > OverflowSafeInt > &)&CMD_ERROR + 8].m_value+0 S8 A64]) > --- > > (const_int 8 [0x8]))) [ MEM[(struct OverflowSafeInt > > *)&CMD_ERROR + 8B].m_value+0 S8 A64]) > > It shows 3 differences: > missing const > & -> * (PR45408) > 8 -> 8B > >
This is caused by revision 161655: http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00006.html -- hjl dot tools at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-08-26 20:02:30 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45419