Require constructor priority support in c-c++-common/Wprio-ctor-dtor.c
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Mon, 8 Oct 2018 10:59:36 +0000 (10:59 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 8 Oct 2018 10:59:36 +0000 (10:59 +0000)
* c-c++-common/Wprio-ctor-dtor.c: Require init_priority support.

From-SVN: r264917

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wprio-ctor-dtor.c

index 021235ee336a6459214c80a77c4dac7fbf1fe508..dd4852f3ea96b6c4687890e93fe83c4454e95fab 100644 (file)
@@ -1,3 +1,7 @@
+2018-10-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * c-c++-common/Wprio-ctor-dtor.c: Require init_priority support.
+
 2018-10-08  Martin Liska  <mliska@suse.cz>
 
        * g++.dg/ext/pr82625.C: Add dg-compile filter.
index 5b08059f3fa5058163eefe0904fac5fdda322d0e..9da7254cc6b88b5792821a129b6e66057d297703 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target init_priority } */
 /* { dg-options "-Wno-prio-ctor-dtor" } */
 
 void construct1 () __attribute__ ((constructor (10)));