diff mbox series

[Obvious,ARM] Fix more -Wreturn-type fallout (gcc.target/arm/pr67989.C)

Message ID CAKdteObsFYhOjb-8FqszA1iWebn2v3tTsEbz5LQ3f=8JOmhvTw@mail.gmail.com
State New
Headers show
Series [Obvious,ARM] Fix more -Wreturn-type fallout (gcc.target/arm/pr67989.C) | expand

Commit Message

Christophe Lyon Nov. 13, 2017, 4:39 p.m. UTC
Hi,

I've committed the attached small patch as an obvious one, doing the
same thing as Martin in the other copy in g++.dg/pr67989.C.

Christophe
2017-11-13  Christophe Lyon  <christophe.lyon@linaro.org>

	* gcc.target/arm/pr67989.C: Add -Wno-return-type to
	dg-additional-options.
diff mbox series

Patch

Index: gcc/testsuite/gcc.target/arm/pr67989.C
===================================================================
--- gcc/testsuite/gcc.target/arm/pr67989.C	(revision 254691)
+++ gcc/testsuite/gcc.target/arm/pr67989.C	(revision 254692)
@@ -2,8 +2,9 @@ 
 /* { 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
    expose the bug this testcase was written for.  */