Require effective target global_constructor for two testcases

2017-03-24  Tom de Vries  <tom@codesourcery.com>

	PR testsuite/80092
	* gcc.dg/no_profile_instrument_function-attr-1.c: Add
	dg-require-effective-target global_constructor.
	* gcc.dg/tls/emutls-2.c: Same.

From-SVN: r246436
This commit is contained in:
Tom de Vries 2017-03-24 06:29:06 +00:00 committed by Tom de Vries
parent a72821b44f
commit c2e389bf38
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2017-03-24 Tom de Vries <tom@codesourcery.com>
PR testsuite/80092
* gcc.dg/no_profile_instrument_function-attr-1.c: Add
dg-require-effective-target global_constructor.
* gcc.dg/tls/emutls-2.c: Same.
2017-03-24 Tom de Vries <tom@codesourcery.com>
PR testsuite/80092

View File

@ -1,3 +1,4 @@
/* { dg-require-effective-target global_constructor } */
/* { dg-options "-O2 -fprofile-generate -fprofile-update=single -fdump-tree-optimized" } */
__attribute__ ((no_profile_instrument_function))

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target tls } */
/* { dg-require-effective-target global_constructor } */
/* { dg-options "-O2" } */
/* With emulated TLS, the constructor generated during IPA