This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: List of simplifications we should perform
- To: Toon Moene <moene at knmi dot nl>
- Subject: Re: List of simplifications we should perform
- From: Theodore Papadopoulo <Theodore dot Papadopoulo at sophia dot inria dot fr>
- Date: Fri, 11 May 2001 15:22:50 +0200
- Cc: dan at www dot dot dot cgsoftware dot com, gcc at gcc dot gnu dot org
moene@knmi.nl said:
>
> > Then it looks like a bug, since clearly
> >
> > x + !!j != x + j
> >
> > Just consider j = 2
Unless, this simplification is just for if (!!j).
With Andy's remarks, it makes sense to add another
simplification to the list:
if (j?1:0) --> if (j)
Can simplify-rtx do this ??
Theo.
--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
--------------------------------------------------------------------
PGP signature