[PATCH] Fix PR tree-optimization/20076
Jeffrey A Law
law@redhat.com
Tue Apr 5 15:28:00 GMT 2005
On Tue, 2005-04-05 at 07:18 -0400, Jakub Jelinek wrote:
> Hi!
>
> If __builtin_apply_args or __builtin_return are called from an inlined
> function, they save arguments resp. return from the function it has been
> inlined into.
> Given that these builtins are very rare and handling these builtins
> for the tree level inlined functions would be non-trivial, I'm proposing
> just not to inline those functions.
> Ok to commit if bootstrap/regtesting succeeds?
>
> 2005-04-05 Jakub Jelinek <jakub@redhat.com>
>
> PR tree-optimization/20076
> * tree-inline.c (inline_forbidden_p_1): Prevent inlining functions
> that call __builtin_return or __builtin_apply_args.
This is fine.
Jeff
More information about the Gcc-patches
mailing list