aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@apple.com>2004-03-09 22:23:29 +0000
committerAndrew Pinski <apinski@apple.com>2004-03-09 22:23:29 +0000
commit639af9ecd3450df8a2813bcf4fed92e59ebcda57 (patch)
treede7b56189249b3092f8b0af4f27ada6977c187c3
parent43e57c5a8df35d383e661bea07c1ea72b2112b4e (diff)
2004-03-09 Andrew Pinski <apinski@apple.com>
* c-typeck.c (tagged_types_tu_compatible_p): Fix typo. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79202 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c-typeck.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c423a2ab8e9..507122d2c99 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-09 Andrew Pinski <apinski@apple.com>
+
+ * c-typeck.c (tagged_types_tu_compatible_p):
+ Fix typo.
+
2004-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* fold-const.c (tree_expr_nonnegative_p): Reformat checks for
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index 7ae080f42d8..87a4068eef0 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -709,7 +709,7 @@ tagged_types_tu_compatible_p (tree t1, tree t2, int flags)
if (tv1 == tv2)
return 1;
- for (;tv1 && tv2; tv1 = TREE_CHAIN (tv2), tv2 = TREE_CHAIN (tv2))
+ for (;tv1 && tv2; tv1 = TREE_CHAIN (tv1), tv2 = TREE_CHAIN (tv2))
{
if (TREE_PURPOSE (tv1) != TREE_PURPOSE (tv2))
break;