]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR c/7652 (-Wswitch-break : Warn if a switch case falls through)
authorMarek Polacek <polacek@redhat.com>
Thu, 18 Aug 2016 10:28:03 +0000 (10:28 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 18 Aug 2016 10:28:03 +0000 (10:28 +0000)
commit9c62c8735891bd29be0bc379b51b295f2838019a
treedb24bfe1b22f4718c813c9284791aba188561a2a
parentf9d97e407ff87e930c40d27f37e666fa4db79643
re PR c/7652 (-Wswitch-break : Warn if a switch case falls through)

PR c/7652
gcc/cp/
* call.c (add_builtin_candidate): Add gcc_fallthrough.
* cxx-pretty-print.c (pp_cxx_unqualified_id): Likewise.
* parser.c (cp_parser_skip_to_end_of_statement): Likewise.
(cp_parser_cache_defarg): Likewise.
libcpp/
* pch.c (write_macdef): Add CPP_FALLTHRU.

From-SVN: r239566
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cxx-pretty-print.c
gcc/cp/parser.c
libcpp/ChangeLog
libcpp/pch.c