]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
re PR c/7652 (-Wswitch-break : Warn if a switch case falls through)
authorMarek Polacek <polacek@redhat.com>
Thu, 1 Sep 2016 14:59:50 +0000 (14:59 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 1 Sep 2016 14:59:50 +0000 (14:59 +0000)
commit295844f68760cd2c8d38e5cd42ba0f81b55cb65b
treec6953867918ca0a6a2b88c76240d748598ee1ef1
parent1ca94f3674693ee3fa656a2f8c560f3bb8aa4a6e
re PR c/7652 (-Wswitch-break : Warn if a switch case falls through)

PR c/7652
gcc/c-family/
* c-common.c (resolve_overloaded_builtin): Fix formatting.  Add
FALLTHRU comments.
gcc/c/
* c-typeck.c (composite_type): Add FALLTHRU comment.
gcc/gcc/cp/
* error.c (dump_type): Fix falls through comment.
(dump_decl): Likewise.
(dump_expr): Likewise.

From-SVN: r239939
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/error.c