[gnu.gcc.bug] Warning messages for out-of-range values?

schmidt@CRIMEE.ICS.UCI.EDU ("Douglas C. Schmidt") (07/17/89)

It would be nice if g++ and gcc gave warning message
about the following compile-time range errors:

----------------------------------------
struct base
{
  unsigned int p : 2;
  char c;
};

int
main ()
{
  struct base b;

  /* Error, values out of range... */
  char c = 101023092.0938;
  b.p = 500;
  b.c = 10101910;
  return 0;
}
----------------------------------------

Doug