https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122103
--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tamar Christina <[email protected]>: https://gcc.gnu.org/g:e984cf7f6519b8d22803caf340c961d2728314bc commit r16-6509-ge984cf7f6519b8d22803caf340c961d2728314bc Author: Tamar Christina <[email protected]> Date: Mon Jan 5 20:55:05 2026 +0000 vect: update tests for -ftrapping-math support [PR122103] Before going any further, this updates the existing testcases that really require -fno-trapping-math to now use that. It also adds three new tests for SVE. They will however fail until the last patch but that's fine. Notable is testcase gcc.target/aarch64/sve/unpacked_cond_frinta_2.c which without -ftrapping-math (which it's explicitly checking for) generates worse code because the vectorizer forces an unneeded unpack. This is however the same issue with how the vectorizer picks VF as we've seen a number of times. gcc/testsuite/ChangeLog: PR tree-optimization/122103 * gcc.target/aarch64/sve/unpacked_frinta_1.c: Add -fno-trapping-math. * gcc.target/aarch64/sve/unpacked_frinti_1.c: Likewise. * gcc.target/aarch64/sve/unpacked_frintm_1.c: Likewise. * gcc.target/aarch64/sve/unpacked_frintp_1.c: Likewise. * gcc.target/aarch64/sve/unpacked_frintx_1.c: Likewise. * gcc.target/aarch64/sve/unpacked_frintz_1.c: Likewise. * gcc.target/aarch64/sve/unpacked_cond_frinta_2.c: Likewise. * gcc.target/aarch64/sve/vcond_13.c: Likewise. * gcc.target/aarch64/sve/vcond_14.c: Likewise. * gcc.target/aarch64/sve/vcond_15.c: Likewise. * gcc.target/aarch64/sve/vcond_16.c: Likewise. * gcc.target/i386/avx-pr93078.c: Likewise. * gcc.target/i386/avx512f-pr93078.c: Likewise.
