aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-02-28 23:23:30 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-02-28 15:23:30 -0800
commit8cd6bdd1c68ea091257a94bd0e5c97608a36d02d (patch)
tree53721814d3a5aef8ef7d79a0ccb78305fe1649f1
parentdd833c7b259dce23eeb01aa8e5d1a5b3229f21f5 (diff)
downloadgcc-8cd6bdd1c68ea091257a94bd0e5c97608a36d02d.zip
gcc-8cd6bdd1c68ea091257a94bd0e5c97608a36d02d.tar.gz
gcc-8cd6bdd1c68ea091257a94bd0e5c97608a36d02d.tar.bz2
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
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/c-typeck.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 191a525..44c8564 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index e44453a..8ad4400 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -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;