From: Per Bothner Date: Wed, 30 Jun 2004 06:42:43 +0000 (-0700) Subject: tree.c (build_min_nt, [...]): Don't set TREE_COMPLEXITY from input_line. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd0d10e80ca4ad80b7aef0d581da2ee41871fcc2;p=gcc.git 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 --- 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++)