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]

Re: This is obviously wrong (but harmless) in tree-predcom.c


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
>


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