From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22460 invoked by alias); 28 Aug 2002 13:46:05 -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 22446 invoked by uid 71); 28 Aug 2002 13:46:04 -0000 Date: Wed, 28 Aug 2002 07:06:00 -0000 Message-ID: <20020828134604.22444.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Reichelt Subject: Re: c++/7734: ICE in cp_expr_size, at cp/cp-lang.c:130 Reply-To: Reichelt X-SW-Source: 2002-08/txt/msg00585.txt.bz2 List-Id: The following reply was made to PR c++/7734; it has been noted by GNATS. From: Reichelt To: gcc-gnats@gcc.gnu.org, spigel@olvs.miee.ru, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c++/7734: ICE in cp_expr_size, at cp/cp-lang.c:130 Date: Wed, 28 Aug 2002 16:24:18 +0200 Hi, the problem can be reproduced with the following code snippet: -------------------------snip here------------------------- struct A { A (); A (const A&); A& operator= (const A&); }; struct { A a; } foo = { A() }; -------------------------snip here------------------------- (with A==QString and foo==g_rgModInfo in the original example). When compiling this with the main trunk (gcc 3.3 20020816) I get the following error (on i686-pc-linux-gnu and mips-sgi-irix6.5): PR7734.cc: In function `void __static_initialization_and_destruction_0(int, int)': PR7734.cc:8: internal compiler error: Internal compiler error in cp_expr_size, at cp/cp-lang.c:302 Please submit a full bug report, [etc.] This is a regression since the code compiles fine with gcc 3.0.x, 3.1 and 3.2. Greetings, Volker Reichelt http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7734