From d09f61a9a635821dc2b6470d3db515f75dce930d Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sun, 17 Mar 2019 19:16:53 +0000 Subject: [PATCH] pointer_init_10.f90: Require visibility support. * gfortran.dg/pointer_init_10.f90: Require visibility support. * gfortran.dg/temporary_3.f90: Likewise. From-SVN: r269744 --- gcc/testsuite/ChangeLog | 5 ++++- gcc/testsuite/gfortran.dg/pointer_init_10.f90 | 1 + gcc/testsuite/gfortran.dg/temporary_3.f90 | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0c4ff4ac581..1c292cb7ded 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,4 +1,7 @@ -2019-03-17 John David Anglin +2013-03-17 John David Anglin + + * gfortran.dg/pointer_init_10.f90: Require visibility support. + * gfortran.dg/temporary_3.f90: Likewise. * gcc.dg/pr88074.c: Require c99_runtime. * gcc.dg/warn-abs-1.c: Likewise. diff --git a/gcc/testsuite/gfortran.dg/pointer_init_10.f90 b/gcc/testsuite/gfortran.dg/pointer_init_10.f90 index 81e7d73755f..9e06b8ac218 100644 --- a/gcc/testsuite/gfortran.dg/pointer_init_10.f90 +++ b/gcc/testsuite/gfortran.dg/pointer_init_10.f90 @@ -1,4 +1,5 @@ ! { dg-do run } +! { dg-require-visibility "" } ! ! PR 84504: [F08] procedure pointer variables cannot be initialized with functions returning pointers ! diff --git a/gcc/testsuite/gfortran.dg/temporary_3.f90 b/gcc/testsuite/gfortran.dg/temporary_3.f90 index 84b300a38d9..75276750248 100644 --- a/gcc/testsuite/gfortran.dg/temporary_3.f90 +++ b/gcc/testsuite/gfortran.dg/temporary_3.f90 @@ -1,4 +1,5 @@ ! { dg-do run } +! { dg-require-visibility "" } ! ! Tests the fix for PR68846 in which compiler generated temporaries were ! receiving the attributes of dummy arguments. This test is the original. -- 2.30.2