From 1acf029802710ffdf59be2af26c8ae49247c394e Mon Sep 17 00:00:00 2001 From: zack Date: Fri, 14 May 2004 02:33:00 +0000 Subject: * 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 --- gcc/calls.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gcc/calls.c') 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++) -- cgit v1.2.1