[Bug c++/65277] New: ice in get_untransformed_body with -O2

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Mon Mar 2 13:52:00 GMT 2015


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

            Bug ID: 65277
           Summary: ice in get_untransformed_body with -O2
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

The gcc/testsuite case g++.dg/inherit/covariant18.C,
when compiled by trunk dated 20150301 with -O2, does this:

bug188.cc:41:1: internal compiler error: in get_untransformed_body, at
cgraph.c:
3113
 }
 ^
0x8faead cgraph_node::get_untransformed_body()
    ../../src/trunk/gcc/cgraph.c:3113
0x90560f cgraph_node::expand()
    ../../src/trunk/gcc/cgraphunit.c:1850
0x906e58 expand_all_functions
    ../../src/trunk/gcc/cgraphunit.c:2014
0x906e58 symbol_table::compile()
    ../../src/trunk/gcc/cgraphunit.c:2367
0x908977 symbol_table::finalize_compilation_unit()
    ../../src/trunk/gcc/cgraphunit.c:2444
0x6d901c cp_write_global_declarations()
    ../../src/trunk/gcc/cp/decl2.c:4754



More information about the Gcc-bugs mailing list