c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in my previous patch.

2004-02-28  Andrew Pinski  <pinskia@physics.uc.edu>

        * c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in
        my previous patch.

From-SVN: r78635
This commit is contained in:
Andrew Pinski 2004-02-28 23:23:30 +00:00 committed by Andrew Pinski
parent dd833c7b25
commit 8cd6bdd1c6
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,7 @@
2004-02-28 Andrew Pinski <pinskia@physics.uc.edu>
* c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in
my previous patch.
* config/darwin.h (machopic_finish): Output stub even if the
symbol is already defined.

View File

@ -711,7 +711,7 @@ tagged_types_tu_compatible_p (tree t1, tree t2, int flags)
for (;tv1 && tv2; tv1 = TREE_CHAIN (tv2), tv2 = TREE_CHAIN (tv2))
{
if (TREE_PURPOSE (tv1) != TREE_PURPOSE (tv1))
if (TREE_PURPOSE (tv1) != TREE_PURPOSE (tv2))
break;
if (simple_cst_equal (TREE_VALUE (tv1), TREE_VALUE (tv2)) != 1)
return 0;