https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92409
Bug ID: 92409 Summary: [10 regression] r277920 causes ICE in gcc.dg/cast-function-1.c Product: gcc Version: 10.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: --- FAIL: gcc.dg/cast-function-1.c (internal compiler error) FAIL: gcc.dg/cast-function-1.c (test for excess errors) I only see this on a powerpc64 BE machine; it works fine on LE. Executing on host: /home/seurer/gcc/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/build/gcc-test2/gcc/ /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cast-function-1.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -O3 -S -o cast-function-1.s (timeout = 300) 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/gcc.dg/cast-function-1.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -O3 -S -o cast-function-1.s /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cast-function-1.c: In function 'bar': /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cast-function-1.c:21:8: warning: function called through a non-compatible type /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cast-function-1.c:22:8: warning: function called through a non-compatible type /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cast-function-1.c:23:8: warning: function called through a non-compatible type /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cast-function-1.c:24:4: warning: function called through a non-compatible type /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cast-function-1.c:28:8: warning: function called through a non-compatible type /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cast-function-1.c:30:8: warning: function called through a non-compatible type /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cast-function-1.c:31:4: warning: function called through a non-compatible type /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cast-function-1.c:49:1: error: non-trivial conversion in 'ssa_name' struct str_t int # .MEM_38 = VDEF <.MEM_36> s = arg_32; during GIMPLE pass: einline /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cast-function-1.c:49:1: internal compiler error: verify_gimple failed 0x10ab930b verify_gimple_in_cfg(function*, bool) /home/seurer/gcc/gcc-test2/gcc/tree-cfg.c:5427 0x1090d30b execute_function_todo /home/seurer/gcc/gcc-test2/gcc/passes.c:1983 0x1090e67b do_per_function /home/seurer/gcc/gcc-test2/gcc/passes.c:1638 0x1090e893 execute_todo /home/seurer/gcc/gcc-test2/gcc/passes.c:2037 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 FAIL: gcc.dg/cast-function-1.c (internal compiler error) PASS: gcc.dg/cast-function-1.c (test for warnings, line 21) PASS: gcc.dg/cast-function-1.c (test for warnings, line 22) PASS: gcc.dg/cast-function-1.c (test for warnings, line 23) PASS: gcc.dg/cast-function-1.c (test for warnings, line 24) PASS: gcc.dg/cast-function-1.c (test for bogus messages, line 25) PASS: gcc.dg/cast-function-1.c (test for bogus messages, line 26) PASS: gcc.dg/cast-function-1.c (test for warnings, line 28) PASS: gcc.dg/cast-function-1.c (test for bogus messages, line 29) PASS: gcc.dg/cast-function-1.c (test for warnings, line 30) PASS: gcc.dg/cast-function-1.c (test for warnings, line 31) PASS: gcc.dg/cast-function-1.c (test for bogus messages, line 32) PASS: gcc.dg/cast-function-1.c (test for bogus messages, line 33) FAIL: gcc.dg/cast-function-1.c (test for excess errors) Excess errors: /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cast-function-1.c:49:1: error: non-trivial conversion in 'ssa_name' struct str_t int # .MEM_38 = VDEF <.MEM_36> s = arg_32; during GIMPLE pass: einline /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/cast-function-1.c:49:1: internal compiler error: verify_gimple failed 0x10ab930b verify_gimple_in_cfg(function*, bool) /home/seurer/gcc/gcc-test2/gcc/tree-cfg.c:5427 0x1090d30b execute_function_todo /home/seurer/gcc/gcc-test2/gcc/passes.c:1983 0x1090e67b do_per_function /home/seurer/gcc/gcc-test2/gcc/passes.c:1638 0x1090e893 execute_todo /home/seurer/gcc/gcc-test2/gcc/passes.c:2037 testcase /home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.dg/dg.exp completed in 0 seconds === gcc Summary === # of expected passes 12 # of unexpected failures 2