https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92901
Bug ID: 92901 Summary: new test case c-c++-common/goacc/clause-locations.c in r279169 fails 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: c-c++-common/goacc/clause-locations.c -std=c++98 (test for warnings, line 12) FAIL: c-c++-common/goacc/clause-locations.c -std=c++98 (test for excess errors) FAIL: c-c++-common/goacc/clause-locations.c -std=c++14 (test for warnings, line 12) FAIL: c-c++-common/goacc/clause-locations.c -std=c++14 (test for excess errors) FAIL: c-c++-common/goacc/clause-locations.c -std=c++17 (test for warnings, line 12) FAIL: c-c++-common/goacc/clause-locations.c -std=c++17 (test for excess errors) FAIL: c-c++-common/goacc/clause-locations.c -std=c++2a (test for warnings, line 12) FAIL: c-c++-common/goacc/clause-locations.c -std=c++2a (test for excess errors) details on one: Executing on host: /home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../xg++ -B/home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../ /home/seurer/gcc/gcc-test/gcc/testsuite/c-c++-common/goacc/clause-locations.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++ -I/home/seurer/gcc/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu -I/home/seurer/gcc/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include -I/home/seurer/gcc/gcc-test/libstdc++-v3/libsupc++ -I/home/seurer/gcc/gcc-test/libstdc++-v3/include/backward -I/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++98 -fopenacc -S -o clause-locations.s (timeout = 300) spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../xg++ -B/home/seurer/gcc/build/gcc-test/gcc/testsuite/g++/../../ /home/seurer/gcc/gcc-test/gcc/testsuite/c-c++-common/goacc/clause-locations.c -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++ -I/home/seurer/gcc/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu -I/home/seurer/gcc/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include -I/home/seurer/gcc/gcc-test/libstdc++-v3/libsupc++ -I/home/seurer/gcc/gcc-test/libstdc++-v3/include/backward -I/home/seurer/gcc/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++98 -fopenacc -S -o clause-locations.s /home/seurer/gcc/gcc-test/gcc/testsuite/c-c++-common/goacc/clause-locations.c: In function 'void check_clause_columns()': /home/seurer/gcc/gcc-test/gcc/testsuite/c-c++-common/goacc/clause-locations.c:12:56: warning: conflicting reduction operations for 'sum' /home/seurer/gcc/gcc-test/gcc/testsuite/c-c++-common/goacc/clause-locations.c:9:34: note: location of the previous reduction for 'sum' FAIL: c-c++-common/goacc/clause-locations.c -std=c++98 (test for warnings, line 12) FAIL: c-c++-common/goacc/clause-locations.c -std=c++98 (test for excess errors) Excess errors: /home/seurer/gcc/gcc-test/gcc/testsuite/c-c++-common/goacc/clause-locations.c:12:56: warning: conflicting reduction operations for 'sum' Note that the C version of the tests works OK. Just the C++ ones fail.