Add dg-require-visibility to tests that require visibility support.
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 29 Feb 2020 16:56:07 +0000 (16:56 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 29 Feb 2020 16:56:07 +0000 (16:56 +0000)
2020-02-29  John David Anglin  <danglin@gcc.gnu.org>

* /g++.dg/ext/visibility/ref-temp1.C: Require visibility.
* gfortran.dg/pr90988_4.f: Likewise.
* gfortran.dg/pr91372.f90: Likewise.

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/visibility/ref-temp1.C
gcc/testsuite/gfortran.dg/pr90988_4.f
gcc/testsuite/gfortran.dg/pr91372.f90

index 9b2df5596d740feb88fe517b75348a529c55c349..a6d3e1495e23f14da982d59d03092f8a7af4e1f5 100644 (file)
@@ -1,3 +1,9 @@
+2020-02-29  John David Anglin  <danglin@gcc.gnu.org>
+
+       * /g++.dg/ext/visibility/ref-temp1.C: Require visibility.
+       * gfortran.dg/pr90988_4.f: Likewise.
+       * gfortran.dg/pr91372.f90: Likewise.
+
 2020-02-29  Jeff Law  <law@redhat.com>
 
        * gcc.target/or1k/return-2.c: Update expected output.
index ecb62326e1bd05c35b6200985aa532964e51ade5..5d3e99ddb76f4e5a443c50fc60a7c3cc06697afa 100644 (file)
@@ -1,5 +1,6 @@
 // PR c++/91476
 // Test that hidden and internal visibility propagates to reference temps.
+// { dg-require-visibility "" }
 
 #define HIDDEN __attribute((visibility("hidden")))
 
index 3379b2e128dcf074189c1c2213028f5dee17b362..0a4e3f6aabfa8ca011569fb94f22b1bdc3233380 100644 (file)
@@ -1,4 +1,5 @@
 c { dg-do compile }
+c { dg-require-visibility "" }
        module foo
           implicit none
           real a,b,c
index b9483141eb65957216edba48e0d8dd2e77f4032b..8c200f683a64937c2293771347dc1106aaa87d2b 100644 (file)
@@ -1,4 +1,5 @@
 ! { dg-do compile }
+! { dg-require-visibility "" }
 ! PR fortran/91372   
 module module_sf_lake
     implicit none