Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr68674.c
blob0b3237458fe9a5b15f30f634aa270a6255073a07
1 /* PR target/68674 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target arm_neon_ok } */
4 /* { dg-require-effective-target arm_fp_ok } */
5 /* { dg-options "-O2" } */
6 /* { dg-add-options arm_fp } */
8 #pragma GCC target ("fpu=vfp")
10 #include <arm_neon.h>
12 int8x8_t a;
13 extern int8x8_t b;
14 int16x8_t e;
16 void __attribute__((target("fpu=neon")))
17 foo1(void)
19 e = (int16x8_t) vaddl_s8(a, b);
22 int8x8_t __attribute__((target("fpu=neon")))
23 foo2(void)
25 return b;