From: Steven G. Kargl Date: Wed, 15 Nov 2017 18:14:14 +0000 (+0000) Subject: re PR fortran/78240 (ICE in match_clist_expr, at fortran/decl.c:728) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54b6c06b49ec3cdfafb087bdafa512b66b916c8c;p=gcc.git re PR fortran/78240 (ICE in match_clist_expr, at fortran/decl.c:728) 2017-11-15 Steven G. Kargl PR fortran/78240 gfortran.dg/pr78240.f90: Prune run-on errors. From-SVN: r254780 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fe4520df2af..6a33125c009 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-11-15 Steven G. Kargl + + PR fortran/78240 + gfortran.dg/pr78240.f90: Prune run-on errors. + 2017-11-15 Sudakshina Das * g++.dg/ext/pr57735.C: Add -Wno-return-type for test. diff --git a/gcc/testsuite/gfortran.dg/pr78240.f90 b/gcc/testsuite/gfortran.dg/pr78240.f90 index 76542bfbab2..5373b555a50 100644 --- a/gcc/testsuite/gfortran.dg/pr78240.f90 +++ b/gcc/testsuite/gfortran.dg/pr78240.f90 @@ -1,4 +1,5 @@ ! { dg-do compile } +! { dg-options "-w" } ! ! PR fortran/78240 ! @@ -8,5 +9,7 @@ ! program p - integer x(n) /1/ ! { dg-error "Nonconstant array" } + integer x(n) /1/ ! { dg-error "cannot appear in the expression" } end +! { dg-prune-output "module or main program" } +! { dg-prune-output "Nonconstant array" }