home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,037 of 2,753   
   glen herrmannsfeldt to Brooks Moses   
   Re: Vector assignment semantics (was Re:   
   17 Aug 07 12:01:31   
   
   XPost: comp.lang.pl1   
   From: gah@ugcs.caltech.edu   
      
   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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca