[Bug c++/87068] No diagnostic on an ill-formed [[fallthrough]]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87068 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #4 from Marek Polacek --- Fixed for GCC 9.
[Bug c++/87068] No diagnostic on an ill-formed [[fallthrough]]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87068 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Thu Feb 28 22:29:42 2019 New Revision: 269288 URL: https://gcc.gnu.org/viewcvs?rev=269288=gcc=rev Log: PR c++/87068 - missing diagnostic with fallthrough statement. * gimplify.c (expand_FALLTHROUGH_r): If IFN_FALLTHROUGH was found at the end of a seq, save its location to walk_stmt_info. (expand_FALLTHROUGH): Warn if IFN_FALLTHROUGH is at the end of a switch. * c-c++-common/Wimplicit-fallthrough-37.c: New test. Added: trunk/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-37.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimplify.c trunk/gcc/testsuite/ChangeLog
[Bug c++/87068] No diagnostic on an ill-formed [[fallthrough]]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87068 Marek Polacek changed: What|Removed |Added CC||david.bolvansky at gmail dot com --- Comment #2 from Marek Polacek --- *** Bug 87230 has been marked as a duplicate of this bug. ***
[Bug c++/87068] No diagnostic on an ill-formed [[fallthrough]]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87068 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #1 from Marek Polacek --- https://gcc.gnu.org/ml/gcc-patches/2018-08/msg01504.html
[Bug c++/87068] No diagnostic on an ill-formed [[fallthrough]]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87068 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC||mpolacek at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org
[Bug c++/87068] No diagnostic on an ill-formed [[fallthrough]]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87068 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNCONFIRMED |NEW Last reconfirmed||2018-08-23 Ever confirmed|0 |1