This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to equiv_constant in cse.c
- To: Nick Clifton <nickc at cygnus dot com>
- Subject: Re: Patch to equiv_constant in cse.c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 13 Oct 1998 09:46:36 -0600
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199810121827.LAA14569@elmo.cygnus.com>you write:
> Hi,
>
> I would like to submit the enclosed patch to cse.c. The patch fixes
> a problem for the m32r toolchain when equiv_constant() calls
> gen_lowpart_if_possible() which then returns NULL. Without this patch
> the code does not check for a NULL value.
>
> Cheers
> Nick
>
>
> Mon Oct 12 11:25:26 1998 Nick Clifton <nickc@cygnus.com>
>
> * cse.c (equiv_constant): Check for NULL return from
> gen_lowpart_if_possible().
Looks good to me.
jeff