[Bug middle-end/47673] Redundant NULL check
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 10 00:09:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47673
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.02.10 00:06:01
Component|tree-optimization |middle-end
Ever Confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-10 00:06:01 UTC ---
if (p2->p1 + -1 <= -3B)
We should disable the optimization which converts
p2->p1 != 0 && p2->p1 != (struct s1 *) -1 into p2->p1 + -1 <= -3B for pointer
types.
More information about the Gcc-bugs
mailing list