This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ifcvt.c improvements for a new port
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Bernd Schmidt <bernds at redhat dot com>
- Cc: Richard dot Earnshaw at arm dot com, gcc-patches at gcc dot gnu dot org, tromey at redhat dot com
- Date: Wed, 31 Jul 2002 09:32:30 +0100
- Subject: Re: ifcvt.c improvements for a new port
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> On Wed, 24 Jul 2002, Bernd Schmidt wrote:
> > On Mon, 22 Jul 2002, Richard Earnshaw wrote:
> >
> > > Now the ifdef'ed code mentioned above will cause a failure if either
> > > true_expr or false_expr are null after running the test, but we don't fail
> > > if the macro isn't defined, so we can fall through into the subsequent
> > > code with flase_expr == NULL. This causes an abort in the call to
> > > cond_exec_process_insns since we pass a NULL pointer as the TEST parameter.
> >
> > Does this fix it for you?
>
> Since you didn't reply I'm checking this in now; please let me know if you
> still have problems after this.
Because the problem I was initially seeing was in libjava, which hasn't
been buildable with Newlib recently. See:
http://gcc.gnu.org/ml/java-patches/2002-q3/msg00088.html
However, I can't see that there would be any problems with your patch.
R.