(function_cannot_inline_p): Don't inline if it's set.
From-SVN: r5338
This commit is contained in:
parent
6766466421
commit
2edc3b33ce
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user