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

2016-02-28 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56007 Jerry DeLisle changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2016-02-28 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56007 --- Comment #10 from Jerry DeLisle --- Author: jvdelisle Date: Sun Feb 28 19:07:42 2016 New Revision: 233795 URL: https://gcc.gnu.org/viewcvs?rev=233795=gcc=rev Log: 2016-02-28 Harald Anlauf Jerry DeLisle

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

2016-02-28 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56007 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

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

2016-02-09 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56007 --- Comment #8 from Harald Anlauf --- Proposed patch posted here: https://gcc.gnu.org/ml/fortran/2016-02/msg00026.html

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

2016-02-07 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56007 --- Comment #6 from Harald Anlauf --- (In reply to Harald Anlauf from comment #5) > The patch of comment #4 appears to be easily extendible to reject > arrays as loop variables (I hope I got this right): > > Index: gcc/fortran/match.c >

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

2016-02-07 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56007 --- Comment #7 from Harald Anlauf --- 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 ! {

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

2016-02-05 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56007 --- Comment #5 from Harald Anlauf --- The patch of comment #4 appears to be easily extendible to reject arrays as loop variables (I hope I got this right): Index: gcc/fortran/match.c

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

2016-02-05 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56007 --- Comment #4 from Harald Anlauf --- (In reply to Tobias Schlüter from comment #3) > Just for the fun of it, another confusing way this error message appears: > $ cat t3.f90 > character c(5) > > do c=2,3 > end do > > END > $ gfortran t3.f90

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

2013-01-22 Thread tobi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56007 --- Comment #3 from Tobias Schlüter tobi at gcc dot gnu.org 2013-01-22 12:56:26 UTC --- Just for the fun of it, another confusing way this error message appears: $ cat t3.f90 character c(5) do c=2,3 end do END $ gfortran t3.f90 t3.f90:3.4:

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

2013-01-16 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56007 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED

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

2013-01-16 Thread anlauf at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56007 Harald Anlauf anlauf at gmx dot de changed: What|Removed |Added CC||anlauf at gmx