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] |
I claim that this is an obvious patch: Index: decl.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/cp/decl.c,v retrieving revision 1.939 diff -u -r1.939 decl.c --- decl.c 1 Oct 2002 18:27:53 -0000 1.939 +++ decl.c 1 Oct 2002 23:18:06 -0000 @@ -1793,7 +1793,7 @@ int result = 0; for (; decl ; decl = TREE_CHAIN (decl)) - result != (*f) (&decl, d); + result |= (*f) (&decl, d); return result; } Any disagreement?
This patch is OK, as long as the tests pass. Thanks, -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |