[Bug fortran/34876] can't read zero length array sections

2008-01-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2008-01-22 02:44 --- Front End does set default stride to one and does not check fo rthe case of a negative stride. Unassigning since it is in unfamiliar territory for me. -- jvdelisle at gcc dot gnu dot org changed:

[Bug fortran/34876] can't read zero length array sections

2008-01-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-01-20 18:10 --- In the failing case, we have no stride: Breakpoint 1, gfc_walk_subexpr (ss=0xfc2de0, expr=0x106f6b0) at ../../gcc43/gcc/fortran/trans-array.c:5609 (gdb) p *expr->ref snip > stride = {0x0, 0x0, 0x0,

[Bug fortran/34876] can't read zero length array sections

2008-01-19 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-01-20 02:56 --- Here is a reduced case that illustrates the problem. Not specifying the negative stride in either the read or write results in a failure. See the commented lines. program qi0011 character(9) bda(10)

[Bug fortran/34876] can't read zero length array sections

2008-01-19 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2008-01-19 21:21 --- I will check into this one while I am at it as well -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added