http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55018
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|CDDCE pass is too |CDDCE pass is too
|aggressive sometimes with |aggressive sometimes with
|infinite loops |infinite loops and with
| |some builtin functions
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-10-22
08:45:39 UTC ---
If I change the printf to a just a normal function, CDDCE does not remove the
loop.