aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSudakshina Das <sudi.das@arm.com>2018-01-22 10:56:26 +0000
committerSudakshina Das <sudi@gcc.gnu.org>2018-01-22 10:56:26 +0000
commit0e32449b70d847d800e2ef8a6b433e8efb850b03 (patch)
treee4e52c106ef96a4e9b851394576a5eeea96f7de8 /gcc
parentdececdaa772723e625f7b1617ad8162982012ba9 (diff)
downloadgcc-0e32449b70d847d800e2ef8a6b433e8efb850b03.zip
gcc-0e32449b70d847d800e2ef8a6b433e8efb850b03.tar.gz
gcc-0e32449b70d847d800e2ef8a6b433e8efb850b03.tar.bz2
[ARM] Fix test fail with conflicting -mfloat-abi
This patch fixes my earlier test case that fails for arm-none-eabi with explicit user option for -mfloat-abi which conflict with the test case options. I have added a guard to skip the test on those cases. ChangeLog entries: *** gcc/testsuite/ChangeLog *** 2018-01-22 Sudakshina Das <sudi.das@arm.com> * gcc.c-torture/compile/pr82096.c: Add dg-skip-if and dg-require-effective-target directives. From-SVN: r256941
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr82096.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a63fa4a..256ab14 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+
+2018-01-22 Sudakshina Das <sudi.das@arm.com>
+
+ * gcc.c-torture/compile/pr82096.c: Add dg-skip-if and
+ dg-require-effective-target directives.
+
2018-01-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* lib/target-supports.exp (check_effective_target_arm_softfloat):
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr82096.c b/gcc/testsuite/gcc.c-torture/compile/pr82096.c
index 9fed28c..d144b70 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr82096.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr82096.c
@@ -1,3 +1,5 @@
+/* { dg-require-effective-target arm_arch_v5t_ok { target arm*-*-* } } */
+/* { dg-skip-if "Do not combine float-abi values" { arm*-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=soft" } } */
/* { dg-additional-options "-march=armv5t -mthumb -mfloat-abi=soft" { target arm*-*-* } } */
static long long AL[24];