https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101186
Jeffrey A. Law <law at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |law at gcc dot gnu.org
--- Comment #6 from Jeffrey A. Law <law at gcc dot gnu.org> ---
I wonder why we don't unswitch the loop twice to pull both conditionals out.
If we were to do that, the a != 0 loop versions can be removed because they'll
do nothing other than increase the loop counter.
The a==0 variant will just have the printf and increment of b.