From dd0d10e80ca4ad80b7aef0d581da2ee41871fcc2 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Tue, 29 Jun 2004 23:42:43 -0700 Subject: [PATCH] tree.c (build_min_nt, [...]): Don't set TREE_COMPLEXITY from input_line. * tree.c (build_min_nt, build_min, build_min_non_dep): Don't set TREE_COMPLEXITY from input_line. From-SVN: r83894 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/tree.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 203c36a24cb..26dedfc6886 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2004-06-29 Per Bothner + + * tree.c (build_min_nt, build_min, build_min_non_dep): + Don't set TREE_COMPLEXITY from input_line. + 2004-06-29 Paul Brook * init.c: Include target.h. diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 8ef808ce3b1..35712d10a2d 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -1294,7 +1294,6 @@ build_min_nt (enum tree_code code, ...) t = make_node (code); length = TREE_CODE_LENGTH (code); - TREE_COMPLEXITY (t) = input_line; for (i = 0; i < length; i++) { @@ -1321,7 +1320,6 @@ build_min (enum tree_code code, tree tt, ...) t = make_node (code); length = TREE_CODE_LENGTH (code); TREE_TYPE (t) = tt; - TREE_COMPLEXITY (t) = input_line; for (i = 0; i < length; i++) { @@ -1352,7 +1350,6 @@ build_min_non_dep (enum tree_code code, tree non_dep, ...) t = make_node (code); length = TREE_CODE_LENGTH (code); TREE_TYPE (t) = TREE_TYPE (non_dep); - TREE_COMPLEXITY (t) = input_line; TREE_SIDE_EFFECTS (t) = TREE_SIDE_EFFECTS (non_dep); for (i = 0; i < length; i++) -- 2.30.2