This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10549: [3.3/3.4 regression] ICE in store_bit_field on bitfields that exceed the precision of the declared type.
- From: bangerth at dealii dot org
- To: daveed at edg dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gdr at integrable-solutions dot net, jsa at edg dot com, nobody at gcc dot gnu dot org
- Date: 29 Apr 2003 19:07:31 -0000
- Subject: Re: c++/10549: [3.3/3.4 regression] ICE in store_bit_field on bitfields that exceed the precision of the declared type.
- Reply-to: bangerth at dealii dot org, daveed at edg dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gdr at integrable-solutions dot net, jsa at edg dot com, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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