]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR112950: Use #pragma GCC for including arm_sve.h.
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Mon, 29 Jan 2024 13:12:44 +0000 (18:42 +0530)
committerPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Mon, 29 Jan 2024 13:12:44 +0000 (18:42 +0530)
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.

gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_5.c

index 6ae8d4c60b2de7bb56db6fd542049587ba07f5b7..e88477b6379ab88fbc5cd169e6792960b724f24b 100644 (file)
@@ -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)