[ARM] Fix more -Wreturn-type fallout (gcc.target/arm/pr67989.C).
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 13 Nov 2017 16:36:10 +0000 (16:36 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Mon, 13 Nov 2017 16:36:10 +0000 (17:36 +0100)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr67989.C

index e887d3e55c4b9295873f704a221886ba6f053cdc..85e71b3e4082c3b22bdb0febafbd6ee4dfe5cbb2 100644 (file)
@@ -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.
index 0006924e24f698711e1e501d09b5098049522ad6..89d2530f3a69a4df7e4eb1db7ecebcb5ebcc1aa6 100644 (file)
@@ -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