https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92479
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |87403 Summary|missing warnings for |missing warnings for |unreachable codes with |unreachable codes with |-Wunreachable-code |break (i.e. revive the | |subset of | |-Wunreachable-code that | |fits under clang's | |-Wunreachable-code-break) --- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Manuel López-Ibáñez from comment #5) > This should be suspended until someone comes up with a proposal for reviving > -Wunreachable that is supported by GCC developers. Having bugs lying around > in UNCONFIRMED or NEW may give the impression that a quick-and-dirty > solution may be acceptable, which is not the case. Any proposed solution > must solve the problems that led to the removal of the previous > -Wunreachable-code. I think this specific bug is just about adding the -Wunreachable-code-break sub-obtion of -Wunreachable-code; not reviving -Wunreachable-code as a whole. Retitling to clarify that this would be a new flag Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87403 [Bug 87403] [Meta-bug] Issues that suggest a new warning