Path: utzoo!telly!attcan!utgpu!watmath!uunet!mcvax!kth!draken!bmc1!kuling!ewerlid From: ewerlid@kuling.UUCP (Ove Ewerlid) Newsgroups: gnu.gcc.bug Subject: the switch statement, bitfields and warnings Keywords: switch Message-ID: <1024@kuling.UUCP> Date: 5 Jun 89 23:46:27 GMT Reply-To: ewerlid@mizar.docs.uu.se (Ove Ewerlid) Organization: Replace me with your organization Lines: 6 (gcc-1.35, sun4-os4) It would be nice to get a warning if a case is out of bound when switching on a bit field. (at least with -Wall) Now it seems to be the size of the entity that contains the bitfield that determines the maximum range of the case's.