https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70639

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
This (completely untested) should fix it though:

diff --git a/gcc/c-family/c-indentation.c b/gcc/c-family/c-indentation.c
index 1da3f68..ddab880 100644
--- a/gcc/c-family/c-indentation.c
+++ b/gcc/c-family/c-indentation.c
@@ -556,6 +556,8 @@ guard_tinfo_to_string (const token_indent_info
&guard_tinfo)
       return "while";
     case RID_DO:
       return "do";
+    case RID_SWITCH:
+      return "switch";
     default:
       gcc_unreachable ();
     }

Reply via email to