diff options
author | chrbr <chrbr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-13 12:13:43 +0000 |
---|---|---|
committer | chrbr <chrbr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-13 12:13:43 +0000 |
commit | da552aa6cd50a8bda1ce31fbbc0a1d8ca7c98a90 (patch) | |
tree | 45171ad722f38652ec52a126777a72d383a00ea2 | |
parent | f704d701f1ccd1bf7a1fb47bb0207993d0ff9fdf (diff) | |
download | gcc-da552aa6cd50a8bda1ce31fbbc0a1d8ca7c98a90.tar.gz |
missed test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232319 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/gcc.target/arm/pr69180.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/arm/pr69180.c b/gcc/testsuite/gcc.target/arm/pr69180.c new file mode 100644 index 00000000000..f4342726124 --- /dev/null +++ b/gcc/testsuite/gcc.target/arm/pr69180.c @@ -0,0 +1,16 @@ +/* PR target/69180 + Check that __ARM_NEON_FP redefinition warns for user setting and not for + #pragma GCC target. */ +/* { dg-do compile } */ +/* { dg-require-effective-target arm_neon_ok } */ +/* { dg-options "-mfloat-abi=softfp -mfpu=neon" } */ + +#pragma GCC target ("fpu=neon-fp-armv8") + +#define __ARM_NEON_FP 0 +#define __ARM_FP 0 +#define __ARM_FEATURE_LDREX 0 + +/* { dg-warning ".__ARM_NEON_FP. redefined" "" { target *-*-* } 10 } */ +/* { dg-warning ".__ARM_FP. redefined" "" { target *-*-* } 11 } */ +/* { dg-warning ".__ARM_FEATURE_LDREX. redefined" "" { target *-*-* } 12 } */ |