(function_cannot_inline_p): Don't inline if it's set.

From-SVN: r5338
This commit is contained in:
Jim Wilson 1993-09-15 23:13:54 -07:00
parent 6766466421
commit 2edc3b33ce

View File

@ -164,6 +164,10 @@ function_cannot_inline_p (fndecl)
if (forced_labels)
return "function with label addresses used in initializers cannot inline";
/* We cannot inline a nested function that jumps to a nonlocal label. */
if (current_function_has_nonlocal_goto)
return "function with nonlocal goto cannot be inline";
return 0;
}