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
This commit is contained in:
parent
6a28f513f1
commit
093c232927
@ -1,5 +1,9 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user