[Bug debug/83419] New: [8 Regression] -fcompare-debug failure (length)
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 14 07:41:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83419
Bug ID: 83419
Summary: [8 Regression] -fcompare-debug failure (length)
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: trippels at gcc dot gnu.org
CC: aoliva at gcc dot gnu.org
Target Milestone: ---
trippels@gcc67 ffmpeg % cat utils.i
int a, b;
void fn1();
void fn2() {
if (a || 1 == b)
fn1();
else
0;
fn1(1, 0);
}
trippels@gcc67 ffmpeg % gcc -fcompare-debug -O2 -c utils.i --save-temps
gcc: error: utils.i: -fcompare-debug failure (length)
trippels@gcc67 ffmpeg % diff -u utils.gkd utils.gk.gkd
--- utils.gkd 2017-12-14 08:40:37.017897604 +0100
+++ utils.gk.gkd 2017-12-14 08:40:37.037897592 +0100
@@ -112,7 +112,7 @@
(expr_list (use (reg:QI 0 ax))
(nil)))
(jump_insn # 0 0 5 (set (pc)
- (label_ref #))# {jump}
+ (label_ref #)) "utils.i":5# {jump}
(nil)
-> 3)
(barrier # 0 0)
More information about the Gcc-bugs
mailing list