https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102964
Bug ID: 102964 Summary: [12 regression] libgomp.c/doacross-1.c fails after r12- Product: gcc Version: 12.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:88b504b7a8c5affb0ffa97990d22af2b199e36ed, r12-4725 make -k check-target-libgomp RUNTESTFLAGS="c.exp=libgomp.c/doacross-1.c" FAIL: libgomp.c/doacross-1.c (test for excess errors) # of expected passes 1 # of unexpected failures 1 spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/./gcc/xgcc -B/home/seurer/gcc/git/build/gcc-test/./gcc/ -B/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/bin/ -B/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/lib/ -isystem /home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/include -isystem /home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/sys-include exceptions_enabled3597848.cc -B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/ -B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/.libs -I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp -I/home/seurer/gcc/git/gcc-test/libgomp/testsuite/../../include -I/home/seurer/gcc/git/gcc-test/libgomp/testsuite/.. -fmessage-length=0 -fno-diagnostics-show-caret -fdiagnostics-color=never -fopenmp -S -o exceptions_enabled3597848.s FAIL: libgomp.c/doacross-1.c (test for excess errors) Excess errors: /home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c/doacross-1.c:22:15: warning: '__atomic_load_4' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] commit 88b504b7a8c5affb0ffa97990d22af2b199e36ed (HEAD, refs/bisect/bad) Author: Martin Sebor <mse...@redhat.com> Date: Tue Oct 26 14:34:16 2021 -0600 Detect overflow by atomic functions [PR102453].