https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110345
--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:54ea9cfb676d7c2aa593594dfa48147ba7de18e3 commit r15-6332-g54ea9cfb676d7c2aa593594dfa48147ba7de18e3 Author: Jakub Jelinek <ja...@redhat.com> Date: Wed Dec 18 11:58:39 2024 +0100 c++: Add fallthrough attribute further test coverage [PR110345] Similarly for fallthrough attribute. Had to add a second testcase because the diagnostics for fallthrough not used within switch at all is done during expansion and expansion won't happen if there are other errors in the testcase. 2024-12-18 Jakub Jelinek <ja...@redhat.com> PR c++/110345 * g++.dg/cpp0x/attr-fallthrough1.C: New test. * g++.dg/cpp0x/attr-fallthrough2.C: New test.