This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PowerPC/23404] gij trashes args of functions


On Mon, Sep 05, 2005 at 02:51:32PM +0100, Andrew Haley wrote:
> While we're looking at PowerPC libffi, isn't this
> 
>   unsigned *next_arg = stack + 2;
> 
> ...
> 
> 	      *(double *)next_arg = double_tmp;
> 
> an aliasing bug?

I don't think so.  The memory pointed to by next_arg is not read or
written by anything else in the function.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]