http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47498
Summary: [4.6 Regression] -fcompare-debug failure with
-fsched2-use-superblocks
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 23145
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23145
reduced testcase
Command line:
$ gcc -O -fsched2-use-superblocks -fschedule-insns2 -fcompare-debug testcase.C
or
$ gcc -O2 -fsched2-use-superblocks -fcompare-debug testcase.C
Compiler output:
$ gcc -O -fsched2-use-superblocks -fschedule-insns2 -fcompare-debug testcase.C
gcc: error: testcase.C: -fcompare-debug failure
$ diff testcase.*gkd
9d8
< (note# 0 0 NOTE_INSN_FUNCTION_BEG)
18a18
> (note# 0 0 NOTE_INSN_FUNCTION_BEG)
Tested revisions:
r169326 - fail
4.5 r168785 - OK