diff options
author | Marek Polacek <polacek@redhat.com> | 2016-08-18 10:28:03 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2016-08-18 10:28:03 +0000 |
commit | 9c62c8735891bd29be0bc379b51b295f2838019a (patch) | |
tree | db24bfe1b22f4718c813c9284791aba188561a2a /libcpp/ChangeLog | |
parent | f9d97e407ff87e930c40d27f37e666fa4db79643 (diff) | |
download | gcc-9c62c8735891bd29be0bc379b51b295f2838019a.zip gcc-9c62c8735891bd29be0bc379b51b295f2838019a.tar.gz gcc-9c62c8735891bd29be0bc379b51b295f2838019a.tar.bz2 |
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
Diffstat (limited to 'libcpp/ChangeLog')
-rw-r--r-- | libcpp/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index c049599..e700dfe 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,8 @@ +2016-08-18 Marek Polacek <polacek@redhat.com> + + PR c/7652 + * pch.c (write_macdef): Add CPP_FALLTHRU. + 2016-08-12 Marek Polacek <polacek@redhat.com> PR c/7652 |