]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Fix testcase pr112105.c
authorAndrew Pinski <quic_apinski@quicinc.com>
Wed, 19 Feb 2025 03:02:40 +0000 (19:02 -0800)
committerAndrew Pinski <quic_apinski@quicinc.com>
Wed, 19 Feb 2025 17:25:19 +0000 (09:25 -0800)
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 <quic_apinski@quicinc.com>
gcc/testsuite/gcc.target/aarch64/pr112105.c

index 1368ea3f78473d6118ff96c84bdfc7a08a78f7ae..5e60c6184b72dcc83673f947cd91c3a1db803833 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-options "-O" } */
+/* { dg-options "-O2" } */
 
 #include <arm_neon.h>
 typedef struct {