https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91074
Bug ID: 91074 Summary: [10 regression] c-c++-common/gomp/scan-3.c fails with ICE starting with r272958 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- FAIL: c-c++-common/gomp/scan-3.c (internal compiler error) FAIL: c-c++-common/gomp/scan-3.c (test for excess errors) FAIL: c-c++-common/gomp/scan-3.c -std=c++98 (internal compiler error) FAIL: c-c++-common/gomp/scan-3.c -std=c++98 (test for excess errors) FAIL: c-c++-common/gomp/scan-3.c -std=c++14 (internal compiler error) FAIL: c-c++-common/gomp/scan-3.c -std=c++14 (test for excess errors) FAIL: c-c++-common/gomp/scan-3.c -std=c++17 (internal compiler error) FAIL: c-c++-common/gomp/scan-3.c -std=c++17 (test for excess errors) spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/build/gcc-test2/gcc/ /home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/gomp/scan-3.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fopenmp -Wno-hsa -S -o scan-3.s during RTL pass: expand /home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/gomp/scan-3.c: In function 'f1': /home/seurer/gcc/gcc-test2/gcc/testsuite/c-c++-common/gomp/scan-3.c:4:1: internal compiler error: tree check: expected ssa_name, have var_decl in single_imm_use, at ssa-iterators.h:421 0x101cadc3 tree_check_failed(tree_node const*, char const*, int, char const*, ...) /home/seurer/gcc/gcc-test2/gcc/tree.c:9900 0x10764b8f tree_check(tree_node const*, char const*, int, char const*, tree_code) /home/seurer/gcc/gcc-test2/gcc/tree.h:3473 0x10764b8f single_imm_use /home/seurer/gcc/gcc-test2/gcc/ssa-iterators.h:421 0x10764b8f expand_mul_overflow /home/seurer/gcc/gcc-test2/gcc/internal-fn.c:1590 0x107663a7 expand_arith_overflow /home/seurer/gcc/gcc-test2/gcc/internal-fn.c:2362 0x107615af expand_internal_call(internal_fn, gcall*) /home/seurer/gcc/gcc-test2/gcc/internal-fn.c:3573 0x107615af expand_internal_call(gcall*) /home/seurer/gcc/gcc-test2/gcc/internal-fn.c:3581 0x1041c397 expand_call_stmt /home/seurer/gcc/gcc-test2/gcc/cfgexpand.c:2638 0x1041c397 expand_gimple_stmt_1 /home/seurer/gcc/gcc-test2/gcc/cfgexpand.c:3708 0x1041dfdf expand_gimple_stmt /home/seurer/gcc/gcc-test2/gcc/cfgexpand.c:3867 0x104254e7 expand_gimple_basic_block /home/seurer/gcc/gcc-test2/gcc/cfgexpand.c:5907 0x104286c7 execute /home/seurer/gcc/gcc-test2/gcc/cfgexpand.c:6530