Re: Scope of implied-do index
- From: "Andy" <andyv@xxxxxxxxxxxxxx>
- Date: 31 Aug 2006 10:48:44 -0700
This is done in the backend, which is well beyond parsing and
symbol resolution. It appears that gfortran needs to mangle the
do-variable of the implied-do.
Be careful. I can assure you that it's very tricky code to get right.
Don't forget to do it for FORALL statement constructs as well.
integer, parameter :: i = 10
real :: x(10)
x = (/ (i, i=1, 10) /)
There was a problem with this example in g95. I've got it fixed now.
Thanks,
Andy
.
- Follow-Ups:
- Re: Scope of implied-do index
- From: Steven G. Kargl
- Re: Scope of implied-do index
- References:
- Scope of implied-do index
- From: Steven G. Kargl
- Re: Scope of implied-do index
- From: Brooks Moses
- Re: Scope of implied-do index
- From: Steven G. Kargl
- Scope of implied-do index
- Prev by Date: Re: problematic array assignment in double precision (ifort, windows)
- Next by Date: Re: Maple to Fortran?
- Previous by thread: Re: Scope of implied-do index
- Next by thread: Re: Scope of implied-do index
- Index(es):
Relevant Pages
|