This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/56007] Remarkably bad error message with DO array=1,2
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 07 Feb 2016 23:04:20 +0000
- Subject: [Bug fortran/56007] Remarkably bad error message with DO array=1,2
- Auto-submitted: auto-generated
- References: <bug-56007-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56007
--- Comment #7 from Harald Anlauf <anlauf at gmx dot de> ---
The patch in comment #6 requires adapting the testsuite accordingly:
gfortran.dg/coarray_8.f90:149:7:
do i = 1, 5 ! { dg-error "cannot be a sub-component" }
needs to be changed to:
do i = 1, 5 ! { dg-error "cannot be an array" }