]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
* gimplify.c (should_warn_for_implicit_fallthrough): Check for
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Oct 2016 12:44:54 +0000 (12:44 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Oct 2016 12:44:54 +0000 (12:44 +0000)
commitdc5b5d21b88a2249c02d54dbaf91e480a8d1fa5d
tree9a20274567104fda6593fcc35ed4b64bb5d20406
parent30ac4925289c200c7e959ce741c95e1672c1923c
* gimplify.c (should_warn_for_implicit_fallthrough): Check for
FALLTHROUGH_LABEL_P here...
(warn_implicit_fallthrough_r): ...not here.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240864 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wimplicit-fallthrough-22.c [new file with mode: 0644]