"Obvious" change in cp/decl.c

Mark Mitchell mark@codesourcery.com
Tue Oct 1 18:27:00 GMT 2002



--On Tuesday, October 01, 2002 04:23:23 PM -0700 Matt Austern 
<austern@apple.com> wrote:

> 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



More information about the Gcc-patches mailing list