https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79762
Bug ID: 79762 Summary: [CHKP] [6/7 Regression] ICE in verify_cgraph_node failed (node is weakref but not an transparent_alias) Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: hubicka at ucw dot cz, ienkovich at gcc dot gnu.org Target Milestone: --- Starting from introduction of transparent aliases (r231373), we ICE on: $ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/lto/attr-weakref-1_2.c -mmpx -fcheck-pointer-bounds /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/lto/attr-weakref-1_2.c:8:1: error: node is weakref but not an transparent_alias } ^ callmealias.chkp/5 (callmealias.chkp) @0x7f48a38d5450 Type: function alias weakref target:callmefirst Visibility: weak References: Referring: Availability: not_available First run: 0 Function flags: Called by: c.chkp/2 (1.00 per call) Calls: Is instrumented version. /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/lto/attr-weakref-1_2.c:8:1: internal compiler error: verify_cgraph_node failed 0x8a2c1b cgraph_node::verify_node() ../../gcc/cgraph.c:3490 0x890d7b symtab_node::verify() ../../gcc/symtab.c:1183 0x890e1f symtab_node::verify_symtab_nodes() ../../gcc/symtab.c:1203 0xb36af5 symtab_node::checking_verify_symtab_nodes() ../../gcc/cgraph.h:616 0xb36af5 symbol_table::remove_unreachable_nodes(_IO_FILE*) ../../gcc/ipa.c:698 0xc561ee execute_todo ../../gcc/passes.c:2030