From 29a3136e6d0be33b962675abe4e13a5d4e58a126 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Wed, 22 Nov 2017 16:33:21 +0000 Subject: [PATCH] [ARM] Fix more -Wreturn-type fallout (gcc.target/arm/pr56184.C). 2017-11-22 Christophe Lyon * gcc.target/arm/pr56184.C: Add -Wno-return-type to dg-options. From-SVN: r255067 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/arm/pr56184.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cb453e310a9..7dbdc24292c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-11-22 Christophe Lyon + + * gcc.target/arm/pr56184.C: Add -Wno-return-type to dg-options. + 2017-11-22 Marek Polacek H.J. Lu Jason Merrill diff --git a/gcc/testsuite/gcc.target/arm/pr56184.C b/gcc/testsuite/gcc.target/arm/pr56184.C index fd278d34f2c..82442225603 100644 --- a/gcc/testsuite/gcc.target/arm/pr56184.C +++ b/gcc/testsuite/gcc.target/arm/pr56184.C @@ -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; -- 2.30.2