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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Weird that with my patch cc1plus warns like this
e.C: In function ‘void foo(int)’:
e.C:5:3: warning: this ‘switch’ clause does not guard...
[-Wmisleading-indentation]
   switch (x);
   ^~~~~~
e.C:6:5: note: ...this statement, but the latter is misleadingly indented as if
it is guarded by the ‘switch’
     bar (x);
     ^~~
while cc1 is quiet.  Isn't the cc1plus warning bogus though?

Reply via email to