From: Rainer Orth Date: Mon, 8 Oct 2018 10:59:36 +0000 (+0000) Subject: Require constructor priority support in c-c++-common/Wprio-ctor-dtor.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a2a0b604457d4920151a4f8d0712430438fe8dc;p=gcc.git Require constructor priority support in c-c++-common/Wprio-ctor-dtor.c * c-c++-common/Wprio-ctor-dtor.c: Require init_priority support. From-SVN: r264917 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 021235ee336..dd4852f3ea9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-10-08 Rainer Orth + + * c-c++-common/Wprio-ctor-dtor.c: Require init_priority support. + 2018-10-08 Martin Liska * g++.dg/ext/pr82625.C: Add dg-compile filter. diff --git a/gcc/testsuite/c-c++-common/Wprio-ctor-dtor.c b/gcc/testsuite/c-c++-common/Wprio-ctor-dtor.c index 5b08059f3fa..9da7254cc6b 100644 --- a/gcc/testsuite/c-c++-common/Wprio-ctor-dtor.c +++ b/gcc/testsuite/c-c++-common/Wprio-ctor-dtor.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target init_priority } */ /* { dg-options "-Wno-prio-ctor-dtor" } */ void construct1 () __attribute__ ((constructor (10)));