[ARM] Fix more -Wreturn-type fallout (gcc.target/arm/pr56184.C).
authorChristophe Lyon <christophe.lyon@linaro.org>
Wed, 22 Nov 2017 16:33:21 +0000 (16:33 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Wed, 22 Nov 2017 16:33:21 +0000 (17:33 +0100)
2017-11-22  Christophe Lyon  <christophe.lyon@linaro.org>

* gcc.target/arm/pr56184.C: Add -Wno-return-type to dg-options.

From-SVN: r255067

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

index cb453e310a9e09d841d73839a5ee861681be8660..7dbdc24292c8cb7915e893b1cfc213098efb013e 100644 (file)
@@ -1,3 +1,7 @@
+2017-11-22  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * gcc.target/arm/pr56184.C: Add -Wno-return-type to dg-options.
+
 2017-11-22  Marek Polacek  <polacek@redhat.com>
            H.J. Lu  <hongjiu.lu@intel.com>
            Jason Merrill  <jason@redhat.com>
index fd278d34f2c3dff3b3f4baba4ca99aa77c6aa7e8..82442225603d8cca981a5c9599439e46ac724b75 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-skip-if "incompatible options" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
-/* { dg-options "-fno-short-enums -O2 -mthumb -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a9 -fno-section-anchors" } */
+/* { dg-options "-fno-short-enums -O2 -mthumb -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a9 -fno-section-anchors -Wno-return-type" } */
 
 typedef unsigned int size_t;
 __extension__ typedef int __intptr_t;