[gcc r14-8494] PR112950: Use #pragma GCC for including arm_sve.h.

Prathamesh Kulkarni prathamesh3492@gcc.gnu.org
Mon Jan 29 13:13:50 GMT 2024


https://gcc.gnu.org/g:8a48723daca911f8cb16a459933772989173aa73

commit r14-8494-g8a48723daca911f8cb16a459933772989173aa73
Author: Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Date:   Mon Jan 29 18:42:44 2024 +0530

    PR112950: Use #pragma GCC for including arm_sve.h.
    
    gcc/testsuite/ChangeLog:
            PR target/112950
            * gcc.target/aarch64/sve/acle/general/dupq_5.c: Remove include directive
            and instead use #pragma GCC for including arm_sve.h.

Diff:
---
 gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_5.c b/gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_5.c
index 6ae8d4c60b2d..e88477b6379a 100644
--- a/gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_5.c
+++ b/gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_5.c
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -mlittle-endian" } */
 
-#include <arm_sve.h>
+#pragma GCC aarch64 "arm_sve.h"
 
 svint32_t
 dupq (int x1, int x2, int x3, int x4)


More information about the Gcc-cvs mailing list