if setjmp is used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30197
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
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");