[Bug fortran/31538] misleading bounds check error

2010-04-17 Thread kargl at gcc dot gnu dot org
--- Comment #13 from kargl at gcc dot gnu dot org 2010-04-17 22:22 --- Subject: Bug 31538 Author: kargl Date: Sat Apr 17 22:22:02 2010 New Revision: 158476 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158476 Log: 2010-04-17 Steven G. Kargl PR fortran/31538 * gfortran

[Bug fortran/31538] misleading bounds check error

2010-04-17 Thread kargl at gcc dot gnu dot org
--- Comment #12 from kargl at gcc dot gnu dot org 2010-04-17 22:12 --- Fixed on 4.5 branch and trunk. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31538] misleading bounds check error

2010-04-17 Thread kargl at gcc dot gnu dot org
--- Comment #11 from kargl at gcc dot gnu dot org 2010-04-17 21:06 --- Subject: Bug 31538 Author: kargl Date: Sat Apr 17 21:05:53 2010 New Revision: 158474 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158474 Log: 2010-04-17 Steven G. Kargl PR fortran/31538 * gfortran

[Bug fortran/31538] misleading bounds check error

2010-04-16 Thread kargl at gcc dot gnu dot org
--- Comment #10 from kargl at gcc dot gnu dot org 2010-04-16 18:25 --- (In reply to comment #9) > The run time error for > > i = 0 > a(i:1) = b(0:4) > > is > > At line 9 of file pr31538_db_2.f90 > Fortran runtime error: Array bound mismatch, size mismatch for dimension 1 of > array 'a

[Bug fortran/31538] misleading bounds check error

2010-04-16 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2010-04-16 17:38 --- The run time error for i = 0 a(i:1) = b(0:4) is At line 9 of file pr31538_db_2.f90 Fortran runtime error: Array bound mismatch, size mismatch for dimension 1 of array 'a' (2/5) for i = 0 a(i:1) = f(b) it is At

[Bug fortran/31538] misleading bounds check error

2010-04-16 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2010-04-16 17:24 --- (In reply to comment #7) > Assuming 'i = -4' is missing in the programming Well, almost any number would do, but "i = -4" is fine. > why is the runtime bounds check not a sufficient error message? Because: Fortr

[Bug fortran/31538] misleading bounds check error

2010-04-16 Thread kargl at gcc dot gnu dot org
--- Comment #7 from kargl at gcc dot gnu dot org 2010-04-16 16:14 --- (In reply to comment #6) > (In reply to comment #5) > > Newly created test case. Expected: > > * Extend (size) should be printed for "a = f()", as NAG f95 does > > > > (I'm not sure that "different shape" is correct f

[Bug fortran/31538] misleading bounds check error

2010-04-16 Thread kargl at gcc dot gnu dot org
--- Comment #6 from kargl at gcc dot gnu dot org 2010-04-16 16:05 --- (In reply to comment #5) > Newly created test case. Expected: > * Extend (size) should be printed for "a = f()", as NAG f95 does > > (I'm not sure that "different shape" is correct for the current a=b message; > addit

[Bug fortran/31538] misleading bounds check error

2007-08-10 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2007-08-10 09:43 --- Newly created test case. Expected: * Extend (size) should be printed for "a = f()", as NAG f95 does (I'm not sure that "different shape" is correct for the current a=b message; additionally, the A should not be capit

[Bug fortran/31538] misleading bounds check error

2007-04-11 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2007-04-11 22:52 --- I fixed the result_in_spec_1.f90 problem in trunk. The diagnostic should remain as a problem, however. I have hijacked this PR for it:) Paul -- pault at gcc dot gnu dot org changed: What|Removed