aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2017-11-13 16:36:10 +0000
committerChristophe Lyon <clyon@gcc.gnu.org>2017-11-13 17:36:10 +0100
commit81766d13a8e51e7432e2c1ff3fd1ef4735e3b820 (patch)
treed714a893247fde41f3c3f6aa0b1f2a62555c97f6 /gcc/testsuite
parent101e910b3a59d878b21afadf0d23330d45d57b73 (diff)
downloadgcc-81766d13a8e51e7432e2c1ff3fd1ef4735e3b820.zip
gcc-81766d13a8e51e7432e2c1ff3fd1ef4735e3b820.tar.gz
gcc-81766d13a8e51e7432e2c1ff3fd1ef4735e3b820.tar.bz2
[ARM] Fix more -Wreturn-type fallout (gcc.target/arm/pr67989.C).
2017-11-13 Christophe Lyon <christophe.lyon@linaro.org> * gcc.target/arm/pr67989.C: Add -Wno-return-type to dg-additional-options. From-SVN: r254692
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/arm/pr67989.C3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e887d3e..85e71b3 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2017-11-13 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * gcc.target/arm/pr67989.C: Add -Wno-return-type to
+ dg-additional-options.
+
2017-11-13 Nathan Sidwell <nathan@acm.org>
* lib/gcc-dg.exp (process-message): Use -: for no column.
diff --git a/gcc/testsuite/gcc.target/arm/pr67989.C b/gcc/testsuite/gcc.target/arm/pr67989.C
index 0006924..89d2530 100644
--- a/gcc/testsuite/gcc.target/arm/pr67989.C
+++ b/gcc/testsuite/gcc.target/arm/pr67989.C
@@ -2,7 +2,8 @@
/* { dg-options "-std=c++11 -O2" } */
/* { dg-require-effective-target arm_arch_v4t_ok } */
/* { dg-add-options arm_arch_v4t } */
-/* { dg-additional-options "-marm" } */
+/* { dg-additional-options "-marm -Wno-return-type" } */
+
/* Duplicate version of the test in g++.dg to be able to run this test only if
ARMv4t in ARM execution state can be targetted. Newer architecture don't