Bug ID: 77947
           Summary: ice with -g and -O2 in strip_naming_typedef
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 39788
gzipped C++ source code

The attached code, when compiled by gcc trunk dated 20161012, and compiler
flags -g -O2, does this:

$ ../results/bin/gcc -c -g -O2
libs/serialization/src/basic_oarchive.cpp: In member function ‘virtual bool
boost::serialization::extended_type_info&) const::bosarg::tracking(unsigned
int) const’:
libs/serialization/src/basic_oarchive.cpp:464:1: internal compiler error:
Segmentation fault
0xc29117 crash_signal
0x9008a8 strip_naming_typedef
0x9008a8 get_context_die
0x9005c7 force_decl_die

Reply via email to