c-typeck.c (tagged_types_tu_compatible_p): Fix typo.
authorAndrew Pinski <apinski@apple.com>
Tue, 9 Mar 2004 22:24:32 +0000 (22:24 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 9 Mar 2004 22:24:32 +0000 (14:24 -0800)
2004-03-09  Andrew Pinski  <apinski@apple.com>

        * c-typeck.c (tagged_types_tu_compatible_p):
        Fix typo.

From-SVN: r79203

gcc/ChangeLog
gcc/c-typeck.c

index 0c98dbfa28eb8abe7d8d5850e09eaeaf9fecb93c..00bce6a17504c0a8918e3584e4fa39557e499c7e 100644 (file)
@@ -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
index 15cb6def01c332d283949425d699e5fda787ecee..a49b5ea289883e816c98ca8fbd6aa570ab25bf62 100644 (file)
@@ -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;