This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] [COMMITTED] Fix typo in tagged_types_tu_compatible_p
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>
- Date: Tue, 9 Mar 2004 14:22:27 -0800
- Subject: [PATCH] [COMMITTED] Fix typo in tagged_types_tu_compatible_p
This fixes another typo in tagged_types_tu_compatible_p, made by my
patch.
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 2.3104
diff -u -p -r2.3104 ChangeLog
--- ChangeLog 9 Mar 2004 17:06:05 -0000 2.3104
+++ ChangeLog 9 Mar 2004 22:19:51 -0000
@@ -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: c-typeck.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-typeck.c,v
retrieving revision 1.282
diff -u -p -r1.282 c-typeck.c
--- c-typeck.c 29 Feb 2004 23:43:20 -0000 1.282
+++ c-typeck.c 9 Mar 2004 22:19:52 -0000
@@ -709,7 +709,7 @@ tagged_types_tu_compatible_p (tree t1, t
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;
Thanks,
Andrew Pinski