From: | glen herrmannsfeldt <gah@ugcs.caltech.edu> |
Newsgroups: | comp.compilers,comp.lang.pl1 |
Date: | Fri, 17 Aug 2007 12:01:31 -0800 |
Organization: | Compilers Central |
References: | 07-08-01607-08-021 07-08-024 07-08-034 07-08-037 07-08-040 07-08-041 07-08-044 |
Keywords: | PL/I, parallel |
Posted-Date: | 18 Aug 2007 09:27:39 EDT |
Brooks Moses wrote:
(snip)
> Thus, I would recommend that the language standard say that array
> assignments where the right-hand side depends on data which is aliased
> with the left-hand side are simply illegal code, and in those cases the
> result is undefined.
I agree. That is why I find it surprising that both Fortran and PL/I
do define this operation. Even worse, the Fortran FORALL statement,
specifically designed to allow parallel operation, also defines
the result (sometimes requiring a temporary array).
-- glen
Return to the
comp.compilers page.
Search the
comp.compilers archives again.