[Bug c++/126924] Wimplicit-fallthrough not issued if next case only contains a break

"redi at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126924

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #2)
> That test mentions
> https://web.archive.org/web/20160610055209/http://security.coverity.com/blog/
> 2013/Sep/gimme-a-break.html as partial rationale (guess more discussions
> will be on the mailing list).

Specifically:

"In this case the subsequent case labels immediately break. In this case
inserting a break would not change the program behavior, so we do not report."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.