[PATCH] Simplify (cond (compare x y) 0) into (cond x y)

Richard Henderson rth@redhat.com
Fri May 24 16:44:00 GMT 2002


On Sat, May 18, 2002 at 06:07:38PM -0600, Roger Sayle wrote:
> 	* simplify-rtx.c (simplify_gen_relational): Simplify the RTX
> 	(cond (compare x y) 0) into the equivalent (cond x y).

It certainly looks correct, but I tested this with an additional
warning annotation, and this never triggered on an i686 build.

What case is this supposed to catch?


r~



More information about the Gcc-patches mailing list