]> gcc.gnu.org Git - gcc.git/commitdiff
tree-inline.c (copy_body_r): Use CONSTANT_CLASS_P where possible.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 1 Apr 2005 13:55:11 +0000 (13:55 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 1 Apr 2005 13:55:11 +0000 (13:55 +0000)
* tree-inline.c (copy_body_r): Use CONSTANT_CLASS_P where
possible.

From-SVN: r97389

gcc/ChangeLog
gcc/tree-inline.c

index f9bc5a9b885e45730bd1c8aeef5ba2eb2336a42b..3237308d6b5c04585854088534f90629e1adf2a6 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-01  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-inline.c (copy_body_r): Use CONSTANT_CLASS_P where
+       possible.
+
 2005-04-01  Richard Earnshaw  <richard.earnshaw@arm.com>
 
        * arm.c (adjacent_mem_locations): Reject volatile memory refs.
index 88bef203862a6a3c8ba63ee89166b6f8e6e567ce..8680a37daf773d75a599efc02ee6f3ffc5b5e170 100644 (file)
@@ -516,7 +516,7 @@ copy_body_r (tree *tp, int *walk_subtrees, void *data)
 
   /* If this is a constant, we have to copy the node iff the type will be
      remapped.  copy_tree_r will not copy a constant.  */
-  else if (TREE_CODE_CLASS (TREE_CODE (*tp)) == tcc_constant)
+  else if (CONSTANT_CLASS_P (*tp) == tcc_constant)
     {
       tree new_type = remap_type (TREE_TYPE (*tp), id);
 
This page took 0.117619 seconds and 5 git commands to generate.