This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] Switch cgraph to IPA_SSA state reliably
- From: Richard Henderson <rth at redhat dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, rguenther at suse dot de
- Date: Thu, 15 Jul 2010 14:42:28 -0700
- Subject: Re: [RFA] Switch cgraph to IPA_SSA state reliably
- References: <4C3F5B72.3030201@redhat.com> <4C3F6500.9010402@redhat.com>
On 07/15/2010 12:44 PM, Richard Henderson wrote:
>> - /* If pass_all_early_optimizations was not scheduled, the state of
>> - the cgraph will not be properly updated. Update it now. */
>> - if (cgraph_state < CGRAPH_STATE_IPA_SSA)
>> - cgraph_state = CGRAPH_STATE_IPA_SSA;
>> + /* We should have run pass_early_local_passes, which updated this state. */
>> + gcc_assert (cgraph_state >= CGRAPH_STATE_IPA_SSA);
>
> Ignore this hunk for the moment; it fails for all LTO tests. However, I suspect
> that somewhere in the LTO path we should have set the state more correctly.
Bootstrap and test on x86_64-linux succeeds without this hunk.
r~