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
This commit is contained in:
Jakub Jelinek 2017-01-18 12:51:46 +01:00 committed by Jakub Jelinek
parent d5432112a7
commit 928bff1905
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2017-01-18 Jakub Jelinek <jakub@redhat.com>
* 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 <toma.tabacu@imgtec.com>
* config/mips/mips.h (ISA_HAS_DIV3): Remove unused macro.

View File

@ -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