[Bug c/96468] Warn when an empty while loop could have been a do-while
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 6 23:09:13 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96468
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
Huh, I thought it might have been possible to get a warning from -Wempty-body
for this code with some other version of gcc or clang, but I can't seem to find
which one at the moment...
More information about the Gcc-bugs
mailing list