This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/46583] New: [4.6 Regression] -fcompare-debug failure with -O -fno-inline -fipa-cp -fipa-cp-clone


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46583

           Summary: [4.6 Regression] -fcompare-debug failure with -O
                    -fno-inline -fipa-cp -fipa-cp-clone
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 22472
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22472
reduced testcase

Compiler output:
$ gcc -O -fno-inline -fipa-cp -fipa-cp-clone -fcompare-debug testcase.C
gcc: error: testcase.C: -fcompare-debug failure
$ diff testcase.*gkd
46d45
< 0:   const unsigned int D.xxxx;
47a47
> 0:   const unsigned int D.xxxx;

Tested revisions:
r166976 - fail
r165699 - fail
r163636 - fail
r161659 - OK
4.5 r166509 - OK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]