This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/10549: [3.3/3.4 regression] ICE in store_bit_field on bitfields that exceed the precision of the declared type.


Old Synopsis: GCC ICEs on bitfields that exceed the precision of the declared type.
New Synopsis: [3.3/3.4 regression] ICE in store_bit_field on bitfields that exceed the precision of the declared type.

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Apr 29 19:07:31 2003
State-Changed-Why:
    Confirmed. Too bad, another regression (this worked in 3.0,
    but ICEs in 3.2, 3.3 and 3.4. This is the shortest one
    can get:
    --------------------------
    union u1 {
       char m1 : 16;
    } x;
    
    int main () {
       x.m1 = 256;
    }
    ------------------------
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
    x.cc:2: warning: width of `u1::m1' exceeds its type
    x.cc: In function `int main()':
    x.cc:6: internal compiler error: in store_bit_field, at expmed.c:668
    
    
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10549


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]