This is the mail archive of the
mailing list for the GCC project.
Re: Get aliases and weakrefs into better shape with LTO
> > On 07/01/2011 01:02, Jan Hubicka wrote:
> > > This seems a symptomatic fix as it goes backwards. I assume that original
> > > problem was an aliases stalling referencing optimized out object.
> > AFAIK PR46221 (see also its subsequent, PR46674) was the original motivation
> > for the patch.
> I am attaching re-diffed patch. Now it seems to apply clearly.
> Thanks for the pointer, the chained aliases should work with my patch. I looked
> for origns of remove_unreachable_alias_pairs but missed this PR.
The testcase from PR seems to compile well for me. In fact the patch is mostly about getting
chained aliases to work with LTO (in addition of fixing the partition issues that originally
hit me with Firefox build).