aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d65e496..b241301 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-22 Ben Elliston <bje@au.ibm.com>
+
+ * tree.c (check_qualified_type): Improve function description.
+
2008-01-21 Jason Merrill <jason@redhat.com>
PR c++/34196
diff --git a/gcc/tree.c b/gcc/tree.c
index b96dc35..4757cbc 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -4151,7 +4151,7 @@ set_type_quals (tree type, int type_quals)
TYPE_RESTRICT (type) = (type_quals & TYPE_QUAL_RESTRICT) != 0;
}
-/* Returns true iff cand is equivalent to base with type_quals. */
+/* Returns true iff CAND is equivalent to BASE with TYPE_QUALS. */
bool
check_qualified_type (const_tree cand, const_tree base, int type_quals)