Commit 093c2329 by Jan Hubicka Committed by Jan Hubicka

re PR tree-optimization/22574 (ICE with IMA and optimization and extern inline)

	PR tree-optimization/22574
	* cgraph.c (cgraph_function_body_availability): Unanalyzed bodies are
	not available.

From-SVN: r102423
parent 6a28f513
2005-07-27 Jan Hubicka <jh@suse.cz>
PR tree-optimization/22574
* cgraph.c (cgraph_function_body_availability): Unanalyzed bodies are
not available.
* tree-tailcall.c (decrease_profile): New function.
(eliminate_tail_call): Use it.
......
......@@ -979,7 +979,7 @@ cgraph_function_body_availability (struct cgraph_node *node)
{
enum availability avail;
gcc_assert (cgraph_function_flags_ready);
if (!node->local.finalized)
if (!node->analyzed)
avail = AVAIL_NOT_AVAILABLE;
else if (node->local.local)
avail = AVAIL_LOCAL;
......
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