From: Christophe Lyon Date: Mon, 13 Nov 2017 16:36:10 +0000 (+0000) Subject: [ARM] Fix more -Wreturn-type fallout (gcc.target/arm/pr67989.C). X-Git-Tag: upstream/12.2.0~35615 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81766d13a8e51e7432e2c1ff3fd1ef4735e3b820;p=platform%2Fupstream%2Fgcc.git [ARM] Fix more -Wreturn-type fallout (gcc.target/arm/pr67989.C). 2017-11-13 Christophe Lyon * gcc.target/arm/pr67989.C: Add -Wno-return-type to dg-additional-options. From-SVN: r254692 --- 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 + + * gcc.target/arm/pr67989.C: Add -Wno-return-type to + dg-additional-options. + 2017-11-13 Nathan Sidwell * 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