From: kazu Date: Fri, 1 Apr 2005 13:55:11 +0000 (+0000) Subject: * tree-inline.c (copy_body_r): Use CONSTANT_CLASS_P where X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9b428ce2db794178f3712ebd29fe9bf00e4a69e;p=thirdparty%2Fgcc.git * tree-inline.c (copy_body_r): Use CONSTANT_CLASS_P where possible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97389 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9bc5a9b885e..3237308d6b5c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-04-01 Kazu Hirata + + * tree-inline.c (copy_body_r): Use CONSTANT_CLASS_P where + possible. + 2005-04-01 Richard Earnshaw * arm.c (adjacent_mem_locations): Reject volatile memory refs. diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 88bef203862a..8680a37daf77 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -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);