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:
parent
a72821b44f
commit
c2e389bf38
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue