summaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-14 02:33:00 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-14 02:33:00 +0000
commit1acf029802710ffdf59be2af26c8ae49247c394e (patch)
tree1d87ff9be659423d0f5eae77a93d234f7f649aa0 /gcc/calls.c
parent88bce6369d989a3f87112ad26b981d2415147783 (diff)
downloadgcc-1acf029802710ffdf59be2af26c8ae49247c394e.tar.gz
* tree.def (documentation): Remove mention of class 'b'.
(BLOCK): Now in class 'x'. * c-common.c (verify_tree): Remove case 'b'. * c-typeck.c (same_translation_unit_p): Change 'b' to 'x'. * calls.c (calls_function_1): Control cannot get past the switch when exp is a BLOCK. * print-tree.c (print_node): Move code for class 'b' to the class 'c'/'x' switch, as case BLOCK. * tree.c (tree_size, make_node_stat, tree_node_structure): Likewise. (unsafe_for_reeval, substitute_placeholder_in_expr) (stabilize_reference_1): Remove case 'b'. * tree-browser.c (browse_tree): Change all tests for TREE_CODE_CLASS of something being 'b' to tests for TREE_CODE of something being BLOCK. * tree-ssa-operands.c (get_expr_operands): Likewise. ada: * trans.c (gnat_stabilize_reference_1): Remove case 'b'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81831 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index e15a96b9c37..35021ea137f 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -259,8 +259,9 @@ calls_function_1 (tree exp, int which)
break;
}
- /* Only expressions and blocks can contain calls. */
- if (! IS_EXPR_CODE_CLASS (class) && class != 'b')
+ /* Only expressions and blocks can contain calls.
+ Blocks were handled above. */
+ if (! IS_EXPR_CODE_CLASS (class))
return 0;
for (i = 0; i < length; i++)