https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93717
Bug ID: 93717 Summary: [10 Regression] gcc.dg/optimize-bswapsi-2.c fails after it was updated in r10-5832 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:0f507a365777b403cf058ee1208bf41a7363a728, r10-5832 The test case was updated in this change and it now fails on powerpc64 BE. Looks like it fails on some other archs, too, from a quick scan of gcc-testresults. Executing on host: /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test2/gcc/ /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/optimize-bswapsi-2.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -O2 -fdump-tree-bswap -S -o optimize-bswapsi-2.s (timeout = 300) spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test2/gcc/ /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/optimize-bswapsi-2.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -O2 -fdump-tree-bswap -S -o optimize-bswapsi-2.s Executing on host: /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test2/gcc/ exceptions_enabled35185.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -S -o exceptions_enabled35185.s (timeout = 300) spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test2/gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test2/gcc/ exceptions_enabled35185.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -S -o exceptions_enabled35185.s exceptions_enabled35185.c: In function 'foo': exceptions_enabled35185.c:4:7: error: 'throw' undeclared (first use in this function) exceptions_enabled35185.c:4:7: note: each undeclared identifier is reported only once for each function it appears in exceptions_enabled35185.c:4:12: error: expected ';' before numeric constant compiler exited with status 1 PASS: gcc.dg/optimize-bswapsi-2.c (test for excess errors) gcc.dg/optimize-bswapsi-2.c: pattern found 3 times FAIL: gcc.dg/optimize-bswapsi-2.c scan-tree-dump-times bswap "32 bit load in target endianness found at" 4 gcc.dg/optimize-bswapsi-2.c: pattern found 4 times FAIL: gcc.dg/optimize-bswapsi-2.c scan-tree-dump-times bswap "32 bit bswap implementation found at" 3 testcase /home/seurer/gcc/git/gcc-test2/gcc/testsuite/gcc.dg/dg.exp completed in 1 seconds === gcc Summary === # of expected passes 1 # of unexpected failures 2