aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFritz Reese <fritzoreese@gmail.com>2018-07-17 16:02:03 +0000
committerFritz Reese <foreese@gcc.gnu.org>2018-07-17 16:02:03 +0000
commit5485812caf9865ec09ff5391e0794bbaffd20751 (patch)
tree57d8624127dc2bb1467061aa2dceb2eb0a908e68 /gcc
parent7ca83c36622cf9f0cc00ba993784b2f7db662ae9 (diff)
downloadgcc-5485812caf9865ec09ff5391e0794bbaffd20751.zip
gcc-5485812caf9865ec09ff5391e0794bbaffd20751.tar.gz
gcc-5485812caf9865ec09ff5391e0794bbaffd20751.tar.bz2
re PR fortran/83184 (Out of memory or ICE with option -fdec)
2018-07-17 Fritz Reese <fritzoreese@gmail.com> gcc/testsuite/ChangeLog: PR fortran/83184 * gfortran.dg/dec_structure_23.f90: Oops, "un-fix" error messages. From-SVN: r262828
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gfortran.dg/dec_structure_23.f906
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bcedfc5..ad07694 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2018-07-17 Fritz Reese <fritzoreese@gmail.com>
+
+ PR fortran/83184
+ * gfortran.dg/dec_structure_23.f90: Oops, "un-fix" error messages.
+
2018-07-17 Will Schmidt <will_schmidt@vnet.ibm.com>
* gcc.target/powerpc/fold-vec-unpack-char.c: New.
diff --git a/gcc/testsuite/gfortran.dg/dec_structure_23.f90 b/gcc/testsuite/gfortran.dg/dec_structure_23.f90
index d79ecc7..78db344 100644
--- a/gcc/testsuite/gfortran.dg/dec_structure_23.f90
+++ b/gcc/testsuite/gfortran.dg/dec_structure_23.f90
@@ -13,8 +13,8 @@ program p
integer :: nn
real :: rr
structure /s/
- integer x(n) /1/ ! { dg-error "must have an explicit shape" }
- integer xx(nn) /1/ ! { dg-error "must have an explicit shape" }
- integer xxx(rr) /1.0/ ! { dg-error "must have an explicit shape" }
+ integer x(n) /1/ ! { dg-error "array with nonconstant bounds" }
+ integer xx(nn) /1/ ! { dg-error "array with nonconstant bounds" }
+ integer xxx(rr) /1.0/ ! { dg-error "array with nonconstant bounds" }
end structure
end