Commit cd8cee7b by Richard Henderson Committed by Richard Henderson

integrate.c (function_cannot_inline_p): Don't allow inlining if setjmp is used.

        * integrate.c (function_cannot_inline_p): Don't allow inlining
        if setjmp is used.

From-SVN: r30197
parent ec0ce6e2
Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
* integrate.c (function_cannot_inline_p): Don't allow inlining
if setjmp is used.
Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-parse.in (cast_expr): Constify.
......
......@@ -145,6 +145,9 @@ function_cannot_inline_p (fndecl)
if (current_function_calls_alloca)
return N_("function using alloca cannot be inline");
if (current_function_calls_setjmp)
return N_("function using setjmp cannot be inline");
if (current_function_contains_functions)
return N_("function with nested functions cannot be inline");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment