Optimization of gfortran for execution speed
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Thu Oct 20 20:42:00 GMT 2005
Dominique Dhumieres wrote:
>>...
>>- don't forget to check that you don't break stuff like
>> a(1:N-1) = a(2:N)
>>...
>
>
> That's the easy case without dependency, the dangerous one
> is a(2:N) = a(1:N-1) that should be scalarized as
> a(N:2:-1) = a(N-1:1:-1) (I hope it's correct).
Well, my concern is still valid :-) but of course I had meant your example.
- Tobi
More information about the Fortran
mailing list