Bug 46135 - ICE: in splice_child_die, at dwarf2out.c:7627 with -g1 -femit-class-debug-always -fenable-icf-debug
Summary: ICE: in splice_child_die, at dwarf2out.c:7627 with -g1 -femit-class-debug-alw...
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: debug (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2010-10-22 15:55 UTC by Zdenek Sojka
Modified: 2015-03-16 08:37 UTC (History)
2 users (show)

See Also:
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Build:
Known to work:
Known to fail: 4.5.2, 4.6.0
Last reconfirmed: 2010-10-27 21:27:24


Attachments
reduced testcase (65 bytes, text/plain)
2010-10-22 15:55 UTC, Zdenek Sojka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zdenek Sojka 2010-10-22 15:55:11 UTC
Created attachment 22125 [details]
reduced testcase

Compiler output:
$ gcc -g1 -femit-class-debug-always -fenable-icf-debug -fkeep-inline-functions pr46135.C  
pr46135.C: In member function 'S S::f()':
pr46135.C:8:3: internal compiler error: in splice_child_die, at dwarf2out.c:7874
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r165822 - crash
r158095 - crash
r153685 - OK
4.5 r165781 - crash
Comment 1 Andrew Pinski 2010-10-27 21:27:24 UTC
Confirmed.
Comment 2 Tobias Burnus 2015-03-16 08:37:02 UTC
-fenable-icf-debug has been removed March 2011 in commit r171037.

Thus, I close this bug as WONTFIX; if the issue can be reproduced with still existing options in the current GCC version, feel free to reopen