diff options
author | Jan Hubicka <jh@suse.cz> | 2005-07-27 12:50:59 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-07-27 10:50:59 +0000 |
commit | 093c23292726ecdf18dccf87f042ea2b03270792 (patch) | |
tree | 50e907b881df0572c14dceb37a0a747d7133f6a2 /gcc | |
parent | 6a28f513f101340c99203a5290501c787833b205 (diff) | |
download | gcc-093c23292726ecdf18dccf87f042ea2b03270792.zip gcc-093c23292726ecdf18dccf87f042ea2b03270792.tar.gz gcc-093c23292726ecdf18dccf87f042ea2b03270792.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cgraph.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f562787..d975412 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 2538442..ffc8d25 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -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; |