http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47508
Summary: [4.6 Regression] -fcompare-debug failure with -ftracer
for pr42918.c
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: [email protected]
ReportedBy: [email protected]
Target: arm-eabi
Since last night I'm seeing this failure with -ftracer and -fcompare-debug on
arm-eabi
/arm/scratch/pdtltest/work/sandboxes/fsf/trunk/2011-01-26/build-a9softfpneon/gcc2/gcc/xgcc
-B/arm/scratch/pdtltest/work/sandboxes/fsf/trunk/2011-01-26/build-a9softfpneon/gcc2/gcc/
/arm/scratch/pdtltest/work/sandboxes/fsf/trunk/source/gcc-fsf/gcc/testsuite/gcc.dg/pr42918.c
-O2 -fcompare-debug -ftracer -DSTACK_SIZE=16384 -S -o pr42918.s (timeout = 800)
xgcc: error:
/arm/scratch/pdtltest/work/sandboxes/fsf/trunk/source/gcc-fsf/gcc/testsuite/gcc.dg/pr42918.c:
-fcompare-debug failure
compiler exited with status 1
output is:
xgcc: error:
/arm/scratch/pdtltest/work/sandboxes/fsf/trunk/source/gcc-fsf/gcc/testsuite/gcc.dg/pr42918.c:
-fcompare-debug failure
The difference in the .gkd files is :
-> 5) -> 5)
(note# 0 0 ("lab") NOTE_INSN_DELETED_LABEL 3) <
(code_label 1 0 0 1 "" [1 uses]) (code_label 1 0
0 1 "" [1 uses])
(note# 0 0 [bb 4] NOTE_INSN_BASIC_BLOCK) (note# 0 0 [bb
4] NOTE_INSN_BASIC_BLOCK)
(insn# 0 0 (use (reg/i:SI 0 r0)) /arm/scratch/pdtltest/work/s (insn# 0 0 (use
(reg/i:SI 0 r0)) /arm/scratch/pdtltest/work/s
(nil)) (nil))
(note# 0 0 NOTE_INSN_EPILOGUE_BEG) (note# 0 0
NOTE_INSN_EPILOGUE_BEG)
(jump_insn:TI# 0 0 (unspec_volatile [ (jump_insn:TI#
0 0 (unspec_volatile [
(return)
(return)
] 1) /arm/scratch/pdtltest/work/sandboxes/fsf/trunk/s ] 1)
/arm/scratch/pdtltest/work/sandboxes/fsf/trunk/s
(nil)) (nil))
(barrier 0 0 0) (barrier 0 0 0)
(code_label 5 0 0 5 "" [2 uses]) (code_label 5 0
0 5 "" [2 uses])
(note# 0 0 [bb 5] NOTE_INSN_BASIC_BLOCK) (note# 0 0 [bb
5] NOTE_INSN_BASIC_BLOCK)
> (note# 0 0
("lab") NOTE_INSN_DELETED_LABEL 3)