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

Reply via email to