[Bug c++/77803] [7 Regression] Bogus implicit-fallthrough warning
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 7 11:46:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77803
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Oct 7 11:45:50 2016
New Revision: 240861
URL: https://gcc.gnu.org/viewcvs?rev=240861&root=gcc&view=rev
Log:
PR c++/77803
* gimplify.c (last_stmt_in_scope): Add check for FALLTHROUGH ().
* g++.dg/warn/Wimplicit-fallthrough-1.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/warn/Wimplicit-fallthrough-1.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list