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_apin...@quicinc.com>
---
 gcc/testsuite/gcc.target/aarch64/pr112105.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 <arm_neon.h>
 typedef struct {
-- 
2.43.0

Reply via email to