This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/56007] Remarkably bad error message with DO array=1,2


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" }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]