[Bug fortran/28494] Unclear run time error message
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-08-14 13:42 --- (In reply to comment #3) One needs therefore to replace the current code by something which calls the library. This was done, and the current error message was corrected. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28494
[Bug fortran/28494] Unclear run time error message
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2007-02-01 14:18:47 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28494
[Bug fortran/28494] Unclear run time error message
--- Comment #3 from burnus at gcc dot gnu dot org 2006-11-10 22:38 --- As FX wrote in an email, a more-detailed error message can not be given with the current method: at present the error string is constructed at compile time via asprintf, but then the extend of the array might not be known - and the current value neither. One needs therefore to replace the current code by something which calls the library. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28494
[Bug fortran/28494] Unclear run time error message
--- Comment #2 from tobias dot burnus at physik dot fu-berlin dot de 2006-09-20 08:27 --- I looked what other are writing: gfortran: Fortran runtime error: Array reference out of bounds for array 'r', upper bound of dimension 1 exceeded (in file 'array2.f90', at line 4) NAG f95: Subscript 1 of R (value 5) is out of range (1:4) Intel Fortran Compiler ifort: forrtl: severe (408): fort: (2): Subscript #1 of the array R has value 5 which is greater than the upper bound of 4 Sun f95: ** FORTRAN RUN-TIME SYSTEM ** Subscript out of range. Location: line 4 column 5 of 'array2.f90' Subscript number 1 has value 5 in array 'R' Personal favourite would be: Fortran runtime error: Array reference out of bounds. Subscript 1 of array 'r' (value 5) exceeds upper bound of 4 (in file 'array2.f90', at line 4) The place to change would be trans-array.c. I looked at it, but I fail to extract a asprintf-able number from the trees index etc. -- tobias dot burnus at physik dot fu-berlin dot de changed: What|Removed |Added CC||tobias dot burnus at physik ||dot fu-berlin dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28494
[Bug fortran/28494] Unclear run time error message
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-26 16:22 --- dimension 1 means to me, the first dimension. I don't see why it was not hard to understand, in fact I did not read the rest of your message until I already said to myself this was the first dimension. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28494