aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree-inline.c2
2 files changed, 5 insertions, 1 deletions
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 <kazu@cs.umass.edu>
+
+ * tree-inline.c: Fix a typo.
+
2005-04-01 Nathan Sidwell <nathan@codesourcery.com>
* 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);