[Bug c++/70639] internal compiler error: in guard_tinfo_to_string, at c-family/c-indentation.c:560
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 13 16:29:00 GMT 2016
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
More information about the Gcc-bugs
mailing list