The following code will compile without warning.  This isn't exactly a bug, but
it is inconsistant from how other types are treated.

struct bset{
  bool bit: 93111;
};

-- 
           Summary: Does warn if bit-fields exceed the size of bool types
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mikerobi at ameritech dot net
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: multiple platforms


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

Reply via email to