--- Comment #9 from domob at gcc dot gnu dot org 2008-09-11 19:15 ---
Fixed on 4.3 branch.
--
domob at gcc dot gnu dot org changed:
What|Removed |Added
Status
--- Comment #8 from domob at gcc dot gnu dot org 2008-09-11 19:15 ---
Subject: Bug 37199
Author: domob
Date: Thu Sep 11 19:13:59 2008
New Revision: 140296
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140296
Log:
2008-09-08 Daniel Kraft <[EMAIL PROTECTED]>
PR fortran
--- Comment #7 from salam at lpthe dot jussieu dot fr 2008-09-10 13:24
---
That's great. I've tested it with the latest binary snapshot and it works very
nicely.
Thanks a lot for fixing this!
Gavin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37199
--- Comment #6 from domob at gcc dot gnu dot org 2008-09-08 09:18 ---
Subject: Bug 37199
Author: domob
Date: Mon Sep 8 09:17:27 2008
New Revision: 140102
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140102
Log:
2008-09-08 Daniel Kraft <[EMAIL PROTECTED]>
PR fortran
--- Comment #5 from domob at gcc dot gnu dot org 2008-09-07 19:00 ---
program bounds_issue
real, pointer :: pdf0(:)
allocate(pdf0(0:282))
pdf0 = f(pdf0)
contains
function f(x)
real, intent(in) :: x(0:) ! x(1:), f(1:...) works
real :: f(0:ubou
--- Comment #4 from domob at gcc dot gnu dot org 2008-09-07 14:46 ---
parm.12.dim[0].ubound = D.1541;
parm.12.dim[0].stride = NON_LVALUE_EXPR ;
parm.12.data = (void *) &(*ifm.11)[0];
parm.12.offset = NON_LVALUE_EXPR ;
D.1547 = MAX_EXPR <(parm.12.dim[0].ubound - p
--
domob at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |domob at gcc dot gnu dot org
|dot org
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Severity|blocker |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37199
--- Comment #3 from dfranke at gcc dot gnu dot org 2008-08-22 13:25 ---
Further reduced:
program bounds_issue
real, pointer :: pdf0(:)
allocate(pdf0(0:282))
pdf0 = f(pdf0)
contains
function f(x)
real, intent(in) :: x(0:) ! x(1:), f(1:...) works
real
--
jv244 at cam dot ac dot uk changed:
What|Removed |Added
OtherBugsDependingO||32834
nThis||
Statu
--- Comment #2 from dominiq at lps dot ens dot fr 2008-08-22 10:56 ---
Confirmed on i686-apple-darwin9 (both 32 and 64 bit modes). Compiling the test
with -fbounds-check gives at run time:
At line 18 of file pr37199.f90
Fortran runtime error: Array bound mismatch for dimension 1 of arra
--- Comment #1 from salam at lpthe dot jussieu dot fr 2008-08-22 10:29
---
Created an attachment (id=16127)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16127&action=view)
test case
# to see the issue, type
gfortran -g -Wall bounds_issue.f90
./a.out
# or
valgrind ./a.out
--
12 matches
Mail list logo