On Sun, Nov 19, 2017 at 09:06:19PM +0100, Jan Hubicka wrote:
> Hi,
> this testcase triggers ICE because we try to inline into -O0 function.
> Fixed thus.
> 
> Bootstrapped/regtested x86_64-linux, comitted.
> 
> Honza
> 
>       * gcc.c-torture/compile/pr81360.c: New testcase.
>       * ipa-inline.c (can_inline_edge_p): Also check that caller is optimized

I believe this caused hundreds of new FAILs on both x86_64 and i686-linux.
Seems after this change we no longer inline always_inline functions into
-O0 callers, which is wrong.

        Jakub

Reply via email to