--- Comment #6 from fxcoudert at gcc dot gnu dot org 2008-05-14 21:22
---
Fixed on 4.4.
--
fxcoudert at gcc dot gnu dot org changed:
What|Removed |Added
Stat
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2008-05-14 21:21
---
Subject: Bug 35682
Author: fxcoudert
Date: Wed May 14 21:20:10 2008
New Revision: 135306
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135306
Log:
PR fortran/35682
* trans-array.c (gfc_c
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2008-05-12 23:15
---
Well, that one is subtle, but I think I found it: it's a TRUNC_DIV_EXPR that
should be a FLOOR_DIV_EXPR in gfc_conv_loop_setup(). That simple fix makes all
testcases in this PR run, except when -fbounds-check is a
--- Comment #3 from tkoenig at gcc dot gnu dot org 2008-03-30 16:36 ---
> Related program, which also fails (I thought we fixed this; this seems to be a
> libgfortran problem):
>
> integer xda(20)
> integer, volatile :: n
> n = 1
> print *, size(XDA(n:2:-3)) ! s
--- Comment #2 from burnus at gcc dot gnu dot org 2008-03-25 16:37 ---
Failing is:
XCA(NF1:NF10:MF1) = XDA(NF1:NF2:MF3)!fails
that is:
XCA(1:10:-1) = XDA(1:2:-3)
The problem is that (1:2:-3) is not regarded as empty range but as containing
one element: size(XDA(1:2:-3)) pr
--- Comment #1 from dick dot hendrickson at gmail dot com 2008-03-24 20:35
---
Some similar assignment statements that work correctly
ZCA(NF1:NF10:MF1) = ZDA(NF1:NF10:MF1)
XCA(NF10:NF5:NF2) = XDA(NF4:NF9:MF2)
where the NF* variables have the value * and the
MF* variables h