[Bug c/30785] Test to null pointer optimised away at -O2

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 13 13:00:00 GMT 2007



------- Comment #1 from rguenth at gcc dot gnu dot org  2007-02-13 13:00 -------
I suppose this is done by the VRP pass (-f[no-]tree-vrp) so target independent.
 If so, this is fixed on current 4.1 branch.  Can you verify this indeed is
broken by VRP by looking at and before the vrp tree dumps? (-fdump-tree-all)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30785



More information about the Gcc-bugs mailing list