Bug 40253

Summary: [4.5 Regression] label emitted for debug has no reference?
Product: gcc Reporter: marcus
Component: middle-endAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gcc-bugs, hubicka, marcus, reichelt, rguenth
Priority: P1    
Version: 4.5.0   
Target Milestone: 4.5.0   
Host: x86_64-unknown-linux-gnu Target: i586-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu Known to work:
Known to fail: Last reconfirmed:
Attachments: typelib.i

Description marcus 2009-05-26 07:10:23 UTC
extracted from Wine

/home/marcus/projects/gcc.trunk/BIN/bin/gcc  -c  -O2 -g  typelib.i -m32
/tmp/cc23hzJL.s: Assembler messages:
/tmp/cc23hzJL.s:299: Error: can't resolve `.LFE8' {*UND* section} - `.Ltext0' {.text section}


The -m32 (build for x86) is necessary.
Comment 1 marcus 2009-05-26 07:11:04 UTC
Created attachment 17917 [details]
typelib.i

gcc -m32 -g -O3 typelib.i


reduced testcase ... further reduction seems to remove the problem :/
Comment 2 Richard Biener 2009-05-26 09:11:38 UTC
Sounds similar to PR40249.
Comment 3 Volker Reichelt 2009-06-08 11:03:17 UTC

*** This bug has been marked as a duplicate of 40126 ***