Re: Vector assignment semantics (was Re: latest trends in compiler optimization research?)

glen herrmannsfeldt <gah@ugcs.caltech.edu>
Fri, 17 Aug 2007 12:01:31 -0800

          From comp.compilers

Related articles
[5 earlier articles]
Re: Vector assignment semantics (was Re: latest trends in compiler opt gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-08-15)
Re: Vector assignment semantics (was Re: latest trends in compiler opt Peter_Flass@Yahoo.com (Peter Flass) (2007-08-15)
Re: Vector assignment semantics (was Re: latest trends in compiler opt jwkenne@attglobal.net (John W. Kennedy) (2007-08-15)
Re: Vector assignment semantics (was Re: latest trends in compiler opt wyrmwif@tsoft.org (SM Ryan) (2007-08-16)
Re: Vector assignment semantics (was Re: latest trends in compiler opt bmoses-nospam@cits1.stanford.edu (Brooks Moses) (2007-08-15)
Re: Vector assignment semantics (was Re: latest trends in compiler opt mojaveg@mojaveg.lsan.mdsg-pacwest.com (2007-08-17)
Re: Vector assignment semantics (was Re: latest trends in compiler opt gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-08-17)
Re: Vector assignment semantics (was Re: latest trends in compiler opt Peter_Flass@Yahoo.com (Peter Flass) (2007-08-17)
Re: Vector assignment semantics (was Re: latest trends in compiler opt jjw@cs.sfu.ca (James J. Weinkam) (2007-08-20)
Re: Vector assignment semantics (was Re: latest trends in compiler opt gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-08-20)
Re: Vector assignment semantics (was Re: latest trends in compiler opt jvorbrueggen@mediasec.de (=?ISO-8859-1?Q?Jan_Vorbr=FCggen?=) (2007-08-21)
Re: Vector assignment semantics (was Re: latest trends in compiler opt tom@kednos.company (Tom Linden) (2007-08-26)
Re: Vector assignment semantics (was Re: latest trends in compiler opt gah@ugcs.caltech.edu (glen herrmannsfeldt) (2007-08-29)
[1 later articles]
| List of all articles for this month |
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



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.