Commit b9096844 by Richard Henderson Committed by Mark Mitchell

integrate.c (function_cannot_inline_p): Do not inline functions with forced labels.

	* integrate.c (function_cannot_inline_p): Do not inline
	functions with forced labels.

Co-Authored-By: Bernd Schmidt <bernds@cygnus.co.uk>

From-SVN: r29127
parent fc6af6e3
Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
Bernd Schmidt <bernds@cygnus.co.uk>
* integrate.c (function_cannot_inline_p): Do not inline
functions with forced labels.
Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
Bernd Schmidt <bernds@cygnus.co.uk>
Mark Mitchell <mark@codesourcery.com>
......
......@@ -148,6 +148,9 @@ function_cannot_inline_p (fndecl)
if (current_function_contains_functions)
return N_("function with nested functions cannot be inline");
if (forced_labels)
return "function with label addresses used in initializers cannot inline";
if (current_function_cannot_inline)
return current_function_cannot_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