https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70639
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Wed Apr 13 16:28:46 2016 New Revision: 234952 URL: https://gcc.gnu.org/viewcvs?rev=234952&root=gcc&view=rev Log: PR c++/70639 * c-indentation.c (should_warn_for_misleading_indentation): Bail out for switch statements, too. * c-c++-common/Wmisleading-indentation-4.c: New test. Added: trunk/gcc/testsuite/c-c++-common/Wmisleading-indentation-4.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-indentation.c trunk/gcc/testsuite/ChangeLog