This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] [Committed] Fix pasto in my tagged_types_tu_compatible_p patch


This fixes a pasto in my previous patch to tagged_types_tu_compatible_p.


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


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


Index: c-typeck.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/c-typeck.c,v retrieving revision 1.280 diff -u -p -r1.280 c-typeck.c --- c-typeck.c 27 Feb 2004 22:33:02 -0000 1.280 +++ c-typeck.c 28 Feb 2004 23:21:51 -0000 @@ -711,7 +711,7 @@ tagged_types_tu_compatible_p (tree t1, t

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;



Thanks, Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]