http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59176

            Bug ID: 59176
           Summary: [4.9 Regression] ICE edge points to wrong declaration
                    / verify_cgraph_node failed
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org

Created attachment 31237
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31237&action=edit
Test case: Run as "g++ -O3 -c test24.ii"

The attached file fails on x86-64-gnu-linux with GCC 4.9.0 20131118 (r204944).

$ g++ -O2 -c test24.ii
$ g++ -O3 -c test24.ii 
...
test24.ii:19:27: error: edge points to wrong declaration:
...
test24.ii:19:27: internal compiler error: verify_cgraph_node failed
0x884276 verify_cgraph_node(cgraph_node*)
        ../../gcc/cgraph.c:2891
0x87f28e verify_symtab_node(symtab_node*)
        ../../gcc/symtab.c:853

Reply via email to