optimization/7591: function-related struct copy bug

Greg Schafer gschafer@zip.com.au
Mon Aug 19 02:50:00 GMT 2002


On Sun, Aug 18, 2002 at 08:36:04AM -0700, H. J. Lu wrote:
> I am testing this now.
> 
> 
> H.J.

> 2002-08-18  H.J. Lu <hjl@gnu.org>
> 
> 	* calls.c (store_one_arg): Remove ATTRIBUTE_UNUSED on
> 	variable_size. Mark any slots used for the argument as in-use
> 	only if we can't pass all arguments to a library call in
> 	registers.
> 
> --- gcc/calls.c.copy	Sun Aug 18 07:35:11 2002
> +++ gcc/calls.c	Sun Aug 18 08:27:29 2002

Fabulous. This fixed it for me. And I didn't see any regressions on
i686-pc-linux-gnu (with the default arch in i386.c hacked to be i686)

Thanks
Greg



More information about the Gcc-bugs mailing list