Require effective target global_constructor for two testcases
2017-03-23 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.
---
gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c | 1 +
gcc/testsuite/gcc.dg/tls/emutls-2.c | 1 +
2 files changed, 2 insertions(+)
@@ -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