From: Andrew Pinski Date: Wed, 19 Feb 2025 03:02:40 +0000 (-0800) Subject: aarch64: Fix testcase pr112105.c X-Git-Tag: basepoints/gcc-16~1925 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3fecec65cb1548b9c12151aea9179c7f78dbe3f;p=thirdparty%2Fgcc.git aarch64: Fix testcase pr112105.c This testcase started to fail with r15-268-g9dbff9c05520a7. When late_combine was added, it was turned on for -O2+ only, so this testcase still failed. This changes the option to be -O2 instead of -O and the testcase started to pass again. tested for aarch64-linux-gnu. gcc/testsuite/ChangeLog: * gcc.target/aarch64/pr112105.c: Change to be -O2 rather than -O1. Signed-off-by: Andrew Pinski --- diff --git a/gcc/testsuite/gcc.target/aarch64/pr112105.c b/gcc/testsuite/gcc.target/aarch64/pr112105.c index 1368ea3f784..5e60c6184b7 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr112105.c +++ b/gcc/testsuite/gcc.target/aarch64/pr112105.c @@ -1,4 +1,4 @@ -/* { dg-options "-O" } */ +/* { dg-options "-O2" } */ #include typedef struct {