This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/7591: function-related struct copy bug
On Mon, Aug 19, 2002 at 07:50:02PM +1000, Greg Schafer wrote:
> 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)
>
Now, let's wait for someone to review it :-(.
H.J.