http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7652

--- Comment #30 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Manuel López-Ibáñez from comment #29)

> I like the previous suggestion of using "goto LABEL;". In fact, the warning
> message could explicitly say "use %<goto %D;%> to silence this warning".

Does this mean that you propose a GCC extension which allows to write this?

     goto 5;
   case 5:

I'm not sure if the extension is worth it, and it creates another source of
errors/unclarities if another switch branch is inserted before "case 5:".  It
looks like fall-through, but it isn't one because the case labels aren't
aligned.

Reply via email to