https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81041
Bug ID: 81041 Summary: [8 regression] test case gcc.dg/pr78582.c fails with ICE starting with r249058 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- I am seeing this on powerpc64 both BE and LE. make -k check-gcc RUNTESTFLAGS=dg.exp=gcc.dg/pr78582.c spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/build/gcc-test/gcc/ /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/pr78582.c -fno-diagnostics-show-caret -fdiagnostics-color=never -fprofile-generate -S -o pr78582.s during IPA pass: profile /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/pr78582.c: In function 'main': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/pr78582.c:18:1: internal compiler error: Segmentation fault 0x109469ab crash_signal /home/seurer/gcc/gcc-test/gcc/toplev.c:338 0x105f76d8 walk_stmt_load_store_addr_ops(gimple*, void*, bool (*)(gimple*, tree_node*, tree_node*, void*), bool (*)(gimple*, tree_node*, tree_node*, void*), bool (*)(gimple*, tree_node*, tree_node*, void*)) /home/seurer/gcc/gcc-test/gcc/gimple-walk.c:915 0x1040fda7 cgraph_node::record_stmt_references(gimple*) /home/seurer/gcc/gcc-test/gcc/cgraphbuild.c:277 0x1040fda7 cgraph_edge::rebuild_edges() /home/seurer/gcc/gcc-test/gcc/cgraphbuild.c:445 0x10a63a3f tree_profiling /home/seurer/gcc/gcc-test/gcc/tree-profile.c:735 0x10a63a3f execute /home/seurer/gcc/gcc-test/gcc/tree-profile.c:770 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. compiler exited with status 1 output is: during IPA pass: profile /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/pr78582.c: In function 'main': /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/pr78582.c:18:1: internal compiler error: Segmentation fault 0x109469ab crash_signal /home/seurer/gcc/gcc-test/gcc/toplev.c:338 0x105f76d8 walk_stmt_load_store_addr_ops(gimple*, void*, bool (*)(gimple*, tree_node*, tree_node*, void*), bool (*)(gimple*, tree_node*, tree_node*, void*), bool (*)(gimple*, tree_node*, tree_node*, void*)) /home/seurer/gcc/gcc-test/gcc/gimple-walk.c:915 0x1040fda7 cgraph_node::record_stmt_references(gimple*) /home/seurer/gcc/gcc-test/gcc/cgraphbuild.c:277 0x1040fda7 cgraph_edge::rebuild_edges() /home/seurer/gcc/gcc-test/gcc/cgraphbuild.c:445 0x10a63a3f tree_profiling /home/seurer/gcc/gcc-test/gcc/tree-profile.c:735 0x10a63a3f execute /home/seurer/gcc/gcc-test/gcc/tree-profile.c:770 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. FAIL: gcc.dg/pr78582.c (internal compiler error) FAIL: gcc.dg/pr78582.c (test for excess errors) Excess errors: during IPA pass: profile /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/pr78582.c:18:1: internal compiler error: Segmentation fault 0x109469ab crash_signal /home/seurer/gcc/gcc-test/gcc/toplev.c:338 0x105f76d8 walk_stmt_load_store_addr_ops(gimple*, void*, bool (*)(gimple*, tree_node*, tree_node*, void*), bool (*)(gimple*, tree_node*, tree_node*, void*), bool (*)(gimple*, tree_node*, tree_node*, void*)) /home/seurer/gcc/gcc-test/gcc/gimple-walk.c:915 0x1040fda7 cgraph_node::record_stmt_references(gimple*) /home/seurer/gcc/gcc-test/gcc/cgraphbuild.c:277 0x1040fda7 cgraph_edge::rebuild_edges() /home/seurer/gcc/gcc-test/gcc/cgraphbuild.c:445 0x10a63a3f tree_profiling /home/seurer/gcc/gcc-test/gcc/tree-profile.c:735 0x10a63a3f execute /home/seurer/gcc/gcc-test/gcc/tree-profile.c:770 testcase /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/dg.exp completed in 0 seconds