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: [lto][patch] Fix struct reorg bug


On Wed, Oct 22, 2008 at 12:52 PM, Rafael Espindola <espindola@google.com> wrote:
> Currently the code tries to insert the newly created statements after
> the last of the newly created statements :-) That fails since the new
> statements don't have a basic block yet.
>
> We are not getting any SSA names in the tests, so new_stmts is always
> empty. Reordering some passes brings this bug to life.
>
> Is this patch also OK for trunk during stage3?

Yes.

Thanks,
Richard.

> 2008-10-22 Rafael Espindola  <espindola@google.com>
>
>        * ipa-struct-reorg.c (create_new_alloc_sites): Properly insert the
>        newly created statements.
>
> Cheers,
> --
> Rafael Avila de Espindola
>
> Google | Gordon House | Barrow Street | Dublin 4 | Ireland
> Registered in Dublin, Ireland | Registration Number: 368047
>


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