[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 e887d3e..85e71b3 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 0006924..89d2530 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