]> git.ipfire.org Git - thirdparty/gcc.git/commit
Disable some testcase for -Og
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Sun, 5 Oct 2025 20:30:49 +0000 (13:30 -0700)
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>
Sun, 5 Oct 2025 20:57:28 +0000 (13:57 -0700)
commiteb5a29677e9073eeff734b8bedd51fa7c3b5e6dc
treec2bbe1f53b044edd98b3118d3ec1b1004e6563e9
parent1fcdf214335fe047e42016a5915177f754a4f263
Disable some testcase for -Og

Running the testsuite with ADDITIONAL_TORTURE_OPTIONS set include "-Og -g",
there are a few extra failures in the torture testsuite. These 2 failures
are expected so let's skip them in the same way for -O0.

asm-inline.c is because inlining does not happen as much at -Og.
restrict-8.c fails due to not building the points to aliasing info at -Og.

gcc/testsuite/ChangeLog:

* c-c++-common/torture/asm-inline.c: Disable at -Og.
* gcc.dg/torture/restrict-8.c: Likewise.

Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
gcc/testsuite/c-c++-common/torture/asm-inline.c
gcc/testsuite/gcc.dg/torture/restrict-8.c