From: Jakub Jelinek Date: Wed, 18 Jan 2017 11:51:46 +0000 (+0100) Subject: tattr-2.c: Add -fno-ipa-icf to dg-options. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=928bff1905fa3d690048a3ab104bcf5d6a57176c;p=gcc.git tattr-2.c: Add -fno-ipa-icf to dg-options. * gcc.target/s390/target-attribute/tattr-2.c: Add -fno-ipa-icf to dg-options. (p0): Add missing dg-error. From-SVN: r244571 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 07f01a97bab..05dda31335a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-01-18 Jakub Jelinek + + * gcc.target/s390/target-attribute/tattr-2.c: Add -fno-ipa-icf + to dg-options. + (p0): Add missing dg-error. + 2017-01-18 Toma Tabacu * config/mips/mips.h (ISA_HAS_DIV3): Remove unused macro. diff --git a/gcc/testsuite/gcc.target/s390/target-attribute/tattr-2.c b/gcc/testsuite/gcc.target/s390/target-attribute/tattr-2.c index 01ae08ee17f..f0d282f6a66 100644 --- a/gcc/testsuite/gcc.target/s390/target-attribute/tattr-2.c +++ b/gcc/testsuite/gcc.target/s390/target-attribute/tattr-2.c @@ -2,7 +2,7 @@ /* { dg-do compile */ /* { dg-require-effective-target target_attribute } */ -/* { dg-options "-O3 -march=zEC12 -mno-htm" } */ +/* { dg-options "-O3 -march=zEC12 -mno-htm -fno-ipa-icf" } */ #pragma GCC target("htm") void p1(void) @@ -20,7 +20,7 @@ void p0(void) #ifdef __HTM__ #error __HTM__ is defined #endif - __builtin_tend (); + __builtin_tend (); /* { dg-error "is not supported without -mhtm" } */ } #pragma GCC reset_options