Commit 0483af36 by John David Anglin

Add dg-require-visibility to tests that require visibility support.

	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.
parent d4912dc7
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> 2020-02-29 Jeff Law <law@redhat.com>
* gcc.target/or1k/return-2.c: Update expected output. * gcc.target/or1k/return-2.c: Update expected output.
......
// PR c++/91476 // PR c++/91476
// Test that hidden and internal visibility propagates to reference temps. // Test that hidden and internal visibility propagates to reference temps.
// { dg-require-visibility "" }
#define HIDDEN __attribute((visibility("hidden"))) #define HIDDEN __attribute((visibility("hidden")))
......
c { dg-do compile } c { dg-do compile }
c { dg-require-visibility "" }
module foo module foo
implicit none implicit none
real a,b,c real a,b,c
......
! { dg-do compile } ! { dg-do compile }
! { dg-require-visibility "" }
! PR fortran/91372 ! PR fortran/91372
module module_sf_lake module module_sf_lake
implicit none implicit none
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment