[testsuite] Add missing dg-require-effective-target global_constructor
authorTom de Vries <tdevries@suse.de>
Thu, 20 Jun 2019 10:37:18 +0000 (10:37 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 20 Jun 2019 10:37:18 +0000 (10:37 +0000)
Add missing dg-require-effective-target global_constructor.

Tested on nvptx.

2019-06-20  Tom de Vries  <tdevries@suse.de>

* gcc.dg/pr90866-2.c: Require global_constructor.

From-SVN: r272505

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr90866-2.c

index afab8242d1eca1e20ceb06fb8f27454a33559ea7..50a0feacbfdf7f7251d8cfcd0d38f9b37fc49d79 100644 (file)
@@ -1,3 +1,7 @@
+2019-06-20  Tom de Vries  <tdevries@suse.de>
+
+       * gcc.dg/pr90866-2.c: Require global_constructor.
+
 2019-06-20  Tom de Vries  <tdevries@suse.de>
 
        * gcc.c-torture/compile/pr89280.c: Require nonlocal_goto.
index 25cb4dc421fcfd275ce41272b214f4e79a9d11d4..641479965793357e129dbfe931ec5a3f76ceb297 100644 (file)
@@ -1,6 +1,8 @@
 /* PR tree-optimization/90866 - ICE in fold_binary_loc, at fold-const.c:9827
    { dg-do compile  }
-   { dg-options "-O2 -fsanitize=thread" } */
+   { dg-require-effective-target global_constructor }
+   { dg-options "-O2 -fsanitize=thread" }
+ */
 
 typedef enum { a } b;
 typedef struct {