From 45224bd0827e05a97c6819b642ff1a6ab1ecf465 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Wed, 7 Feb 2018 11:35:18 +0000 Subject: [PATCH] [testsuite] Require global_constructor in gcc.dg/torture/pr83055.c 2018-02-07 Tom de Vries * gcc.dg/torture/pr83055.c: Require effective target global_constructor. From-SVN: r257446 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/torture/pr83055.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 23b0d7418f6..9b9442da0fd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-02-07 Tom de Vries + + * gcc.dg/torture/pr83055.c: Require effective target global_constructor. + 2018-02-07 H.J. Lu PR target/84243 diff --git a/gcc/testsuite/gcc.dg/torture/pr83055.c b/gcc/testsuite/gcc.dg/torture/pr83055.c index 9bc71c6cddf..93f54b7a0f1 100644 --- a/gcc/testsuite/gcc.dg/torture/pr83055.c +++ b/gcc/testsuite/gcc.dg/torture/pr83055.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-additional-options "-fprofile-generate" } */ +/* { dg-require-effective-target global_constructor } */ void __attribute__ ((__cold__)) a (void); void b (void); -- 2.30.2