This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/7591: function-related struct copy bug
- From: Greg Schafer <gschafer at zip dot com dot au>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: kelledin at users dot sourceforge dot net, gcc at gcc dot gnu dot org, law at redhat dot com,gcc-patches at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Aug 2002 19:50:02 +1000
- Subject: Re: optimization/7591: function-related struct copy bug
- References: <20020818093401.A15946@tigers-lfs.nsw.bigpond.net.au> <20020817184800.A2198@lucon.org> <20020818152009.A29717@tigers-lfs.nsw.bigpond.net.au> <20020818000921.B5909@lucon.org> <20020818080617.A20366@lucon.org> <20020818081443.A20617@lucon.org> <20020818083604.A20945@lucon.org>
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