tree.c (build_min_nt, [...]): Don't set TREE_COMPLEXITY from input_line.
authorPer Bothner <per@bothner.com>
Wed, 30 Jun 2004 06:42:43 +0000 (23:42 -0700)
committerPer Bothner <bothner@gcc.gnu.org>
Wed, 30 Jun 2004 06:42:43 +0000 (23:42 -0700)
* 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
gcc/cp/tree.c

index 203c36a24cba59b6b8c103f87f8407e2753ac337..26dedfc688673399308836c57ca0fc5910685e4c 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-29  Per Bothner  <per@bothner.com>
+
+       * tree.c (build_min_nt, build_min, build_min_non_dep):
+       Don't set TREE_COMPLEXITY from input_line.
+
 2004-06-29  Paul Brook  <paul@codesourcery.com>
 
        * init.c: Include target.h.
index 8ef808ce3b1882d411a758f0e8c0ec929469f5e0..35712d10a2dc1eb207b90e7df1921d7f2cbf233a 100644 (file)
@@ -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++)