Re: tree level aliasing and call clobber

2005-12-24 Thread Daniel Berlin
On Sat, 2005-12-24 at 16:20 -0500, Andrew Pinski wrote: > I noticed that if I try not to mark a variable as escaping, we don't > get the function > call to have V_MAY_DEF for that variable. Which is correct. > > For an example in this Fortran code: > function i() > INTEGER :: i > INTEGER :: t >

tree level aliasing and call clobber

2005-12-24 Thread Andrew Pinski
I noticed that if I try not to mark a variable as escaping, we don't get the function call to have V_MAY_DEF for that variable. For an example in this Fortran code: function i() INTEGER :: i INTEGER :: t call f(t) t = 2; call g() if (t .ne. 2) then call abort () end if i = t end function t c