Boost logo

Ublas :

From: Ian McCulloch (ianmcc_at_[hidden])
Date: 2005-06-17 18:22:45


Of peripheral interest, does anyone know what the aliasing rules are for
Fortran 95 array expressions? If it follows function argument rules, then
aliasing is forbidden [undefined behaviour], although surely expressions
that involve an alias but are not sensitive to order of evaluation, like x
+= x, work as expected. Do Fortran 95 compilers detect simple cases of
incorrect aliasing?

Cheers,
Ian