From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8709 invoked by alias); 23 Nov 2001 16:49:08 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 8619 invoked from network); 23 Nov 2001 16:49:05 -0000 Received: from unknown (HELO taltos.codesourcery.com) (66.92.14.122) by sourceware.cygnus.com with SMTP; 23 Nov 2001 16:49:05 -0000 Received: from zack by taltos.codesourcery.com with local (Exim 3.32 #1 (Debian)) id 167JVa-00086o-00; Fri, 23 Nov 2001 08:48:58 -0800 Date: Tue, 13 Nov 2001 16:41:00 -0000 To: Gerald Pfeifer Cc: Craig Rodrigues , gcc@gcc.gnu.org Subject: Re: ICE in change_address at emit_rtl.c Message-ID: <20011123084858.F21936@codesourcery.com> References: <20011122065926.A21592@mediaone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i From: Zack Weinberg X-SW-Source: 2001-11/txt/msg00623.txt.bz2 On Thu, Nov 22, 2001 at 01:18:02PM +0100, Gerald Pfeifer wrote: > On Thu, 22 Nov 2001, Craig Rodrigues wrote: > > OK, that one might be a bad report. These ones have > > the same ICE error message. Can they be closed? > > > > 4916, 4821, 4734, 4684, 4613, 4612, 4611, 4410, 4297, 4916, > > 4821, 4734, 4684, 4613, 4612, 4611, 4581, 4438, 4410, 4297 > > 4297 can be closed (verified on sparc-sun-solaris2.8 for current 3.0.3-CVS): > > nunki[95]:~% gccvs main.ii -O3 > main.c: In function `int main(int, char**)': > main.c:169: `strcmp' undeclared (first use this function) > main.c:169: (Each undeclared identifier is reported only once for each function > it appears in.) > main.c:171: `exit' undeclared (first use this function) > main.c:249: confused by earlier errors, bailing out Careful! "confused by earlier errors, bailing out" means that there _was_ an ICE but we pretended it didn't happen because there was an earlier error. In this case, the undeclared strcmp and exit are unlikely to have corrupted data structures down the line and provoked the ICE, which means there's still a real bug here. Put declarations of strcmp and exit just above main() in that test file, and I bet you the bug comes back. This is why ICE suppression is a Bad Thing. zw