OSDN Git Service

(substitute_in_type, case REAL_TYPE): Fix typo in previous change.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Feb 1994 12:13:48 +0000 (12:13 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Feb 1994 12:13:48 +0000 (12:13 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6627 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/tree.c

index 8d2df27..c22be3d 100644 (file)
@@ -2124,7 +2124,7 @@ substitute_in_type (t, f, r)
              && TREE_CODE (TYPE_MAX_VALUE (t)) != REAL_CST
              && contains_placeholder_p (TYPE_MAX_VALUE (t))))
        {
-         t = copy_type (t);
+         t = build_type_copy (t);
 
          if (TYPE_MIN_VALUE (t))
            TYPE_MIN_VALUE (t) = substitute_in_expr (TYPE_MIN_VALUE (t), f, r);