[Bug fortran/35698] lbound and ubound wrong for allocated run-time zero size array

2008-03-25 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-03-25 23:52 --- Thanks for testing/reducing/reporting this. If one looks at the bounds, one sees that for negative lower bounds the output is wrong. NAG correctly has: 2 1 0 1 -2 -3 -4 3 4 5 0 7 8 9 while

[Bug fortran/35698] lbound and ubound wrong for allocated run-time zero size array

2008-03-26 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2008-03-26 22:20 --- This one is relatively easy: Index: gcc/fortran/trans-array.c === *** gcc/fortran/trans-array.c (revision 133278) --- gcc/fortran/trans-array.c (work

[Bug fortran/35698] lbound and ubound wrong for allocated run-time zero size array

2008-03-27 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2008-03-27 11:08 --- Some comments about the patch in comment #2: 1) If I am not mistaken, the first change is within a commented block (look at the last line in the diff.: ' } */') 2) With the patch I have a lot of regressions on

[Bug fortran/35698] lbound and ubound wrong for allocated run-time zero size array

2008-03-28 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2008-03-28 08:33 --- (In reply to comment #3) > 1) If I am not mistaken, the first change is within a commented block (look at > the last line in the diff.: > ' } */') Yes, indeed - the comment has been made consistent with the inte

[Bug fortran/35698] lbound and ubound wrong for allocated run-time zero size array

2008-03-29 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2008-03-29 08:11 --- Subject: Bug 35698 Author: pault Date: Sat Mar 29 08:11:02 2008 New Revision: 133710 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133710 Log: 2008-03-29 Paul Thomas <[EMAIL PROTECTED]> PR fortran/

[Bug fortran/35698] lbound and ubound wrong for allocated run-time zero size array

2008-03-29 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2008-03-29 08:18 --- Subject: Bug 35698 Author: pault Date: Sat Mar 29 08:17:36 2008 New Revision: 133711 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133711 Log: 2008-03-29 Paul Thomas <[EMAIL PROTECTED]> PR fortran/

[Bug fortran/35698] lbound and ubound wrong for allocated run-time zero size array

2008-03-29 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2008-03-29 08:19 --- Fixed on trunk and 4.3 Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added