------- Comment #4 from pinskia at gcc dot gnu dot org  2010-01-30 00:05 -------
(In reply to comment #3)
> You must set "--param max-unswitch-level=0" to trigger the bug in non-FDO use.
> 

So the problem is really if (optimize_loop_for_size_p (loop)) .  I think you
need to figure out why that is returning true.  I can see why to some extent as
we have a pointer comparison against a NULL pointer; we assume the pointer will
not be null when duplicating the loop.  


-- 


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

Reply via email to