This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/83346] New: inliner crash with always inline and templates
- From: "andi-gcc at firstfloor dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 09 Dec 2017 21:14:48 +0000
- Subject: [Bug ipa/83346] New: inliner crash with always inline and templates
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83346
Bug ID: 83346
Summary: inliner crash with always inline and templates
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: andi-gcc at firstfloor dot org
CC: marxin at gcc dot gnu.org
Target Milestone: ---
Created attachment 42820
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42820&action=edit
test case
Attached test case segfaults with -O2 on gcc 7 and 8 trunk
g++ -O2 -S ch-crash.i
ch-crash.i:30:1: internal compiler error: Segmentation fault
}
^
0xc030f7 crash_signal
../../gcc/gcc/toplev.c:325
0x125b189 ipa_inline
../../gcc/gcc/ipa-inline.c:2388
0x125b189 execute
../../gcc/gcc/ipa-inline.c:2807