>aopcode bar (ivar a[1])
>
>{
> ivar b;
>
> if (!b) // i-rate.
>
> b = a; // i-rate.
[...]
[Robin writes]
> Shouldn't this statement actually be "b = a[0];"?
Reading through the relevent sections, you're probably right, although
I vaguely recall email from Eric saying to be loose on this one and
accept it (but I could be totally mistaken in this -- I should go back
and see if such email really does exist).
There is definitely a NOTE in 5.8.6.7.2 that seems to indicate it
should be illegal, though (sfront currently accepts it ...),
--jl
-------------------------------------------------------------------------
John Lazzaro -- Research Specialist -- CS Division -- EECS -- UC Berkeley
lazzaro [at] cs [dot] berkeley [dot] edu www.cs.berkeley.edu/~lazzaro
-------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 12:03:56 EST