This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Committed] Fix PR objc/29195 ICE with array decaying to a pointer in a method
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 03 Oct 2006 09:24:16 -0700
- Subject: Re: [Committed] Fix PR objc/29195 ICE with array decaying to a pointer in a method
- References: <1159284919.31509.9.camel@celery.andrew.com>
On Tue, 2006-09-26 at 08:35 -0700, Andrew Pinski wrote:
> The problem here is that we change the type of the decl but we had
> already layout'ed the decl so we get a mix match for some arrays. This
> patch fixes the problem by relaying out the decl after the type has
> changed.
>
> Committed as obvious after a bootstrap and test on i686-linux-gnu.
Also to the 4.1 branch after a bootstrap/test on i686-linux-gnu.
Thanks,
Andrew Pinski