From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15096 invoked by alias); 9 May 2003 15:56:00 -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 15051 invoked by uid 71); 9 May 2003 15:56:00 -0000 Date: Fri, 09 May 2003 15:56:00 -0000 Message-ID: <20030509155600.15050.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Falk Hueffner Subject: Re: c++/10695: 2.95/3.2/3.3: ICE on alpha while building agistudio Reply-To: Falk Hueffner X-SW-Source: 2003-05/txt/msg00768.txt.bz2 List-Id: The following reply was made to PR debug/10695; it has been noted by GNATS. From: Falk Hueffner To: rmurray@debian.org Cc: gcc-gnats@gcc.gnu.org, 192568@bugs.debian.org Subject: Re: c++/10695: 2.95/3.2/3.3: ICE on alpha while building agistudio Date: 09 May 2003 17:54:03 +0200 rmurray@debian.org writes: > g++ -c -pipe -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -I/usr/include/qt3 -I/usr/include/qt -o wordsedit.o wordsedit.cpp > wordsedit.cpp: In member function `void WordsEdit::merge_file()': > wordsedit.cpp:620: Internal compiler error in dwarf2out_frame_debug_expr, at dwarf2out.c:1328 > Please submit a full bug report, This is acually a bug in the Debian package, because the file isn't compiled with -O2 as policy mandates, and the error only occurs at -O0 ;) Here's a test case: struct WordList { char c[320000]; }; void merge(struct WordList); void merge_file() { struct WordList w; merge(w); } The problem is still there in g++ 3.4 20030423. It also occurs with gcc -g. The author should probably also consider not passing 320k large structures by value... -- Falk