[Bug tree-optimization/123377] [16 Regression] gcc.dg/uninit-pred-7_a.c line 23 xpassing since r16-5258-g1d8e2d51e5c5cb
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 4 18:19:25 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123377
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pinskia@gcc.gnu.org>:
https://gcc.gnu.org/g:bcde241ac56de6e168fc16f778be60ff13bbcbca
commit r16-6486-gbcde241ac56de6e168fc16f778be60ff13bbcbca
Author: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
Date: Fri Jan 2 21:25:12 2026 -0800
testsuite: Create a variant of uninit-pred-7_a.c [PR123377]
So it turns out the xfail uninit-pred-7_a.c didn't always happen
depending on the setting of logical-op-non-short-circuit.
So this creates a second copy of the testcase for the case
of `logical-op-non-short-circuit=0` without the xfail and then sets
`logical-op-non-short-circuit=1` for uninit-pred-7_a.c with still
the xfail.
Tested on x86_64-linux-gnu to make sure both pass and uninit-pred-7_a.c
xfails like it should. Also tested manually on powerpc64-linux-gnu to
see the bogus warning happen with logical-op-non-short-circuit=1.
PR testsuite/123377
gcc/testsuite/ChangeLog:
* gcc.dg/uninit-pred-7_a.c: Add
`--param logical-op-non-short-circuit=1` to the options.
* gcc.dg/uninit-pred-7_a_a.c: New test.
Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
More information about the Gcc-bugs
mailing list