This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/83346] New: inliner crash with always inline and templates


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]