This is obviously wrong (but harmless) in tree-predcom.c
Richard Guenther
richard.guenther@gmail.com
Fri Jan 22 22:19:00 GMT 2010
On Fri, Jan 22, 2010 at 7:37 PM, Toon Moene <toon@moene.org> wrote:
> I think the following is an obvious fix:
Ok.
Thanks,
Richard.
> 2010-01-22 Toon Moene <toon@moene.org>
>
> * tree-predcom.c (combine_chains): Return NULL, not false.
>
> Index: tree-predcom.c
> ===================================================================
> --- tree-predcom.c (revision 156157)
> +++ tree-predcom.c (working copy)
> @@ -2277,7 +2277,7 @@
> tree rslt_type = NULL_TREE;
>
> if (ch1 == ch2)
> - return false;
> + return NULL;
> if (ch1->length != ch2->length)
> return NULL;
>
>
> --
> Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
> Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
> At home: http://moene.org/~toon/
> Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.5/changes.html
>
More information about the Gcc-patches
mailing list