From 0b7784b5318a48d6ce183740d51fad5cccd602a1 Mon Sep 17 00:00:00 2001 From: kazu Date: Fri, 1 Apr 2005 14:03:36 +0000 Subject: [PATCH] * tree-inline.c: Fix a typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97391 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/tree-inline.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1b9540..0346462 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-04-01 Kazu Hirata + + * tree-inline.c: Fix a typo. + 2005-04-01 Nathan Sidwell * configure.ac (enable-checking): Explicitly set all variables for diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 8680a37..ef284a1 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 (CONSTANT_CLASS_P (*tp) == tcc_constant) + else if (CONSTANT_CLASS_P (*tp)) { tree new_type = remap_type (TREE_TYPE (*tp), id); -- 2.7.4