From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4377 invoked by alias); 29 Apr 2003 19:07:31 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 4353 invoked by uid 48); 29 Apr 2003 19:07:31 -0000 Date: Tue, 29 Apr 2003 19:07:00 -0000 Message-ID: <20030429190731.4352.qmail@sources.redhat.com> To: daveed@edg.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, gdr@integrable-solutions.net, jsa@edg.com, nobody@gcc.gnu.org From: bangerth@dealii.org Reply-To: bangerth@dealii.org, daveed@edg.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, gdr@integrable-solutions.net, jsa@edg.com, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/10549: [3.3/3.4 regression] ICE in store_bit_field on bitfields that exceed the precision of the declared type. X-SW-Source: 2003-04/txt/msg01388.txt.bz2 List-Id: 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