[lto] Enable FDO with LTO

Diego Novillo dnovillo@google.com
Fri Feb 13 23:07:00 GMT 2009


On Fri, Feb 13, 2009 at 16:53, Diego Novillo <dnovillo@google.com> wrote:

> @@ -1106,7 +1106,9 @@ cgraph_decide_inlining (void)
>            max_count = e->count;
>       }
>   overall_insns = initial_insns;
> -  gcc_assert (!max_count || (profile_info && flag_branch_probabilities));
> +  gcc_assert (!in_lto_p

This should read 'gcc_assert (in_lto_p'.  This came from an old patch.
 Sorry.  I committed the right version, though.


Diego.



More information about the Gcc-patches mailing list