[Bug lto/70187] New: [6 Regression] ICE (segfault) in lto1 with -Wsuggest-final-methods/-Wsuggest-final-types

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 11 12:40:00 GMT 2016


            Bug ID: 70187
           Summary: [6 Regression] ICE (segfault) in lto1 with
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: hubicka at gcc dot gnu.org
  Target Milestone: ---

Created attachment 37937
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37937&action=edit
testcase (test.ii)

g++ -c -w -r -nostdlib  -O2 -flto input26b.ii
g++ -Ofast -flto -Wsuggest-final-methods -Wsuggest-final-types input26b.o

ICEs with:

lto1: internal compiler error: Segmentation fault
0xa77adf crash_signal
0x886444 vec<cgraph_node*, va_heap, vl_embed>::operator[](unsigned int)
0x886444 vec<cgraph_node*, va_heap, vl_ptr>::operator[](unsigned int)
0x886444 possible_polymorphic_call_targets(tree_node*, long,
ipa_polymorphic_call_context, bool*, void**, bool)
0x888a7a possible_polymorphic_call_targets(cgraph_edge*, bool*, void**, bool)
0x888a7a ipa_devirt

Worked a few days ago with the trunk in the preliminary patch PR69630 comment 3
applied. (As that PR is fixed, my current trunk build has no extra patches

More information about the Gcc-bugs mailing list