This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/70639] internal compiler error: in guard_tinfo_to_string, at c-family/c-indentation.c:560


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]