aboutsummaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-01-29 02:46:30 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-01-29 02:46:30 +0000
commitf2d1f0ba552e043b985396f93360f1b72d9d4b67 (patch)
treee0576a67b40daa2d959bde31647eb1bc8cbaf698 /gcc/stmt.c
parent4f92461a87f8ef9ec018b3f2eb9351106f2f8bf4 (diff)
downloadgcc-f2d1f0ba552e043b985396f93360f1b72d9d4b67.zip
gcc-f2d1f0ba552e043b985396f93360f1b72d9d4b67.tar.gz
gcc-f2d1f0ba552e043b985396f93360f1b72d9d4b67.tar.bz2
stmt.c (estimate_case_costs): Use integer_minus_one_node.
* stmt.c (estimate_case_costs): Use integer_minus_one_node. * tree.c (build_common_tree_nodes_2): Set integer_minus_one_node. * tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE. (integer_minus_one_node): Define. ch: * ch-tree.h (integer_minus_one_node): Moved to top level gcc directory. * decl.c (integer_minus_one_node): Likewise. (init_decl_processing): Don't set integer_minus_one_node. cp: * cp-tree.h (cp_tree_index): Delete CPTI_MINUS_ONE. (minus_one_node): Moved to top level gcc directory. Renamed to integer_minus_one_node. * init.c (init_init_processing): Don't set minus_one_node. (build_vec_init): Use integer_minus_one_node. * rtti.c (get_tinfo_decl_dynamic): Likewise. From-SVN: r39325
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index c4e9ce0..8465df7 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -5764,7 +5764,7 @@ static int
estimate_case_costs (node)
case_node_ptr node;
{
- tree min_ascii = build_int_2 (-1, -1);
+ tree min_ascii = integer_minus_one_node;
tree max_ascii = convert (TREE_TYPE (node->high), build_int_2 (127, 0));
case_node_ptr n;
int i;