aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@apple.com>2004-03-09 22:24:32 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-03-09 14:24:32 -0800
commitf38f747dba8b1620264979af2801062ed4205034 (patch)
treebb833fa82893944f2c029714c7c7f03ff2719807 /gcc
parentbfb0a4ad700c1b5638c2a93ded8b59a1cb79f60e (diff)
downloadgcc-f38f747dba8b1620264979af2801062ed4205034.zip
gcc-f38f747dba8b1620264979af2801062ed4205034.tar.gz
gcc-f38f747dba8b1620264979af2801062ed4205034.tar.bz2
c-typeck.c (tagged_types_tu_compatible_p): Fix typo.
2004-03-09 Andrew Pinski <apinski@apple.com> * c-typeck.c (tagged_types_tu_compatible_p): Fix typo. From-SVN: r79203
Diffstat (limited to 'gcc')
-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 0c98dbf..00bce6a175 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-09 Roger Sayle <roger@eyesopen.com>
* simplify-rtx.c (simplify_const_relational_operation): New function
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index 15cb6de..a49b5ea 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;