https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63680

            Bug ID: 63680
           Summary: ice
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marco.morandini at polimi dot it

Created attachment 33845
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33845&action=edit
reduced testcase

g++ version:

marco@pao:~/Mbdyn/mbdyn.cvs> g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/home/marco/local/gcc-4.9.1/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/home/marco/local/gcc-4.9.1
--enable-checking=release --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --enable-linux-futex --enable-lto
--with-arch=native --enable-threads=posix --with-ppl --with-cloog
--enable-languages=c,c++,fortran,lto
Thread model: posix
gcc version 4.9.1 (GCC) 

------------------

ice message:

marco@pao:~/TTT/GccTestcaseReduction> g++ -c RulesDirective.ii
RulesDirective.ii: In function ‘void processLabels()’:
RulesDirective.ii:7:6: internal compiler error: Segmentation fault
 void processLabels() {
      ^
0x9aca5f crash_signal
        ../../gcc/toplev.c:337
0x8583ea get_class_context
        ../../gcc/ipa-devirt.c:997
0x8593fd contains_type_p
        ../../gcc/ipa-devirt.c:1012
0x8593fd get_polymorphic_call_info(tree_node*, tree_node*, tree_node**, long*,
ipa_polymorphic_call_context*)
        ../../gcc/ipa-devirt.c:1227
0x73669f cgraph_create_indirect_edge(cgraph_node*, gimple_statement_base*, int,
long, int)
        ../../gcc/cgraph.c:976
0x737cd3 build_cgraph_edges
        ../../gcc/cgraphbuild.c:343
0x737cd3 execute
        ../../gcc/cgraphbuild.c:409

Reply via email to