public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Switch statement case range
@ 2012-04-08 16:00 Rick Hodgin
  2012-04-08 16:03 ` Gabriel Dos Reis
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Rick Hodgin @ 2012-04-08 16:00 UTC (permalink / raw)
  To: gcc

What are the possibilities of adding a GCC extension to allow:

switch (foo) {
case 1:
case 2:
case 3 to 8:
case 9:
default:
}

in C/C++ case statements?

Best regards,
Rick C. Hodgin

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-04-13 16:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-08 16:00 Switch statement case range Rick Hodgin
2012-04-08 16:03 ` Gabriel Dos Reis
2012-04-08 16:05 ` Marek Polacek
2012-04-08 16:07   ` Rick Hodgin
2012-04-08 16:15     ` Oleg Endo
2012-04-08 16:23       ` Rick Hodgin
2012-04-12 23:26         ` Rick Hodgin
2012-04-13  8:29           ` Jonathan Wakely
2012-04-13 15:58             ` Rick Hodgin
2012-04-13 16:04               ` Jonathan Wakely
2012-04-08 16:07 ` Robert Dewar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).