This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR tree-optimization/20076


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]