From 8cd6bdd1c68ea091257a94bd0e5c97608a36d02d Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sat, 28 Feb 2004 23:23:30 +0000 Subject: [PATCH] c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in my previous patch. 2004-02-28 Andrew Pinski * c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in my previous patch. From-SVN: r78635 --- gcc/ChangeLog | 3 +++ gcc/c-typeck.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 191a52578d79..44c8564a23e2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,7 @@ 2004-02-28 Andrew Pinski + + * 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 e44453af8329..8ad4400ede1d 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; -- 2.47.2