From 1e67491a0db526fa3137cf6576dde13cd785d364 Mon Sep 17 00:00:00 2001 From: Thomas Koenig Date: Sat, 17 Aug 2019 11:57:25 +0000 Subject: [PATCH] re PR libgomp/91473 (Test case libgomp.fortran/appendix-a/a.28.5.f90 is invalid) 2019-08-17 Thomas Koenig PR fortran/91473 * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: Add -std=legacy so invalid code in the test case is accepted. From-SVN: r274602 --- libgomp/ChangeLog | 6 ++++++ libgomp/testsuite/libgomp.fortran/appendix-a/a.28.5.f90 | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index a2737c3ea8c..1332e423056 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2019-08-17 Thomas Koenig + + PR fortran/91473 + * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: Add + -std=legacy so invalid code in the test case is accepted. + 2019-08-12 Thomas Koenig PR fortran/91422 diff --git a/libgomp/testsuite/libgomp.fortran/appendix-a/a.28.5.f90 b/libgomp/testsuite/libgomp.fortran/appendix-a/a.28.5.f90 index 08de997f8c4..a3f56dd4757 100644 --- a/libgomp/testsuite/libgomp.fortran/appendix-a/a.28.5.f90 +++ b/libgomp/testsuite/libgomp.fortran/appendix-a/a.28.5.f90 @@ -1,5 +1,5 @@ ! { dg-do compile } -! { dg-options "-w" } +! { dg-options "-w -std=legacy" } ! ! "-w" added as libgomp/testsuite seemingly cannot parse with ! dg-warning Fortran's output. Fortran warns for "call sub1(a)" -- 2.30.2