On Thu, Jun 30, 2011 at 7:01 AM, Richard Guenther <rguent...@suse.de> wrote:
>
> This patch makes IPA-PTA work during the ltrans stage of LTO.
> It basically makes sure to honor the accessed-from-other-ltrans-unit
> flags for variables and functions where appropriate.
>
> With this patch, IPA-PTA survives LTO bootstrap (with -fipa-pta
> hard-wired to 1 in common.opt).  Before the patch we miscompiled
> the stage2 compiler (unsurprisingly).
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk.
>
> I hope to get to some of the remaining TODOs for IPA-PTA (basically
> fixup nonlocal handling throughout the compiler ...) and then maybe
> look at compile-time and memory usage issues.
>
> Richard.
>
> 2011-06-29  Richard Guenther  <rguent...@suse.de>
>
>        * opts.c (finish_options): Do not disable IPA-PTA during ltrans.
>        * tree-ssa-structalias.c (create_variable_info_for): Do not
>        add initial constraints for non-var-decls.  Properly handle
>        globals in other ltrans partitions.
>        (intra_create_variable_infos): Manually create constraints for
>        the fake no-alias parameter.
>        (ipa_pta_execute): Dump the cgraph, handle ltrans partitions properly
>        and assert there are no clones.
>

This caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49596

-- 
H.J.

Reply via email to