https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79152

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Jan 20 16:28:16 2017
New Revision: 244726

URL: https://gcc.gnu.org/viewcvs?rev=244726&root=gcc&view=rev
Log:
        PR c/79152
        * gimplify.c (should_warn_for_implicit_fallthrough): Handle consecutive
        non-case labels.

        * c-c++-common/Wimplicit-fallthrough-35.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/Wimplicit-fallthrough-35.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to