[Bug tree-optimization/42720] Problematic condition simplification logic at unswitch-loops pass
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jan 30 00:05:00 GMT 2010
------- 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
More information about the Gcc-bugs
mailing list