]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add -ffuse-ops-with-volatile-access: Adjust 'gcc.target/nvptx/alloca-5.c' [PR122343]
authorThomas Schwinge <tschwinge@baylibre.com>
Tue, 20 Jan 2026 22:31:05 +0000 (23:31 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Thu, 5 Feb 2026 08:56:35 +0000 (09:56 +0100)
commitf40a87f0a48cb11219ed13658d555875e6721cae
treea360c0b0de09459ba021b737ee1afd43dd839c48
parent5c46b4d38a8b10c1fe5c0a27472b4e9c7cce2480
Add -ffuse-ops-with-volatile-access: Adjust 'gcc.target/nvptx/alloca-5.c' [PR122343]

With commit r16-5947-ga6c50ec2c6ebcbda2b032eee0552a6a486355e12
"Add -ffuse-ops-with-volatile-access", GCC/nvptx avoids use of intermediate
registers in applicable cases (nice!).  This causes one test suite regression:

    PASS: gcc.target/nvptx/alloca-5.c (test for excess errors)
    XFAIL: gcc.target/nvptx/alloca-5.c execution test
    [-PASS:-]{+FAIL:+} gcc.target/nvptx/alloca-5.c check-function-bodies f
    PASS: gcc.target/nvptx/alloca-5.c check-function-bodies g

Adjust the FAILing 'check-function-bodies' as per the improved code generation.

PR target/122343
gcc/testsuite/
* gcc.target/nvptx/alloca-5.c: Adjust.
gcc/testsuite/gcc.target/nvptx/alloca-5.c