re PR c/77946 (-Wimplicit-fallthrough=1 ICE: tree check: expected tree that contains...
authorJakub Jelinek <jakub@redhat.com>
Thu, 13 Oct 2016 10:42:36 +0000 (12:42 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 13 Oct 2016 10:42:36 +0000 (12:42 +0200)
commit1a1ab05e906d5fe546e72354dd79d455becd71df
treeca1888b5a59806a7abcaa4dd88da738af51d8c09
parent5579170b40876cbf8af7a369a7b1ea98e76e8b59
re PR c/77946 (-Wimplicit-fallthrough=1 ICE: tree check: expected tree that contains ‘decl with visibility’ structure, have ‘label_decl’)

PR c/77946
* tree.h (FALLTHROUGH_LABEL_P): Use private_flag instead of
public_flag.
* varasm.c (default_binds_local_p_3): Formatting fix.

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

From-SVN: r241094
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wimplicit-fallthrough-34.c [new file with mode: 0644]
gcc/tree.h
gcc/varasm.c