From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23969 invoked by alias); 22 Jan 2002 00:54:07 -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 23940 invoked by uid 61); 22 Jan 2002 00:54:05 -0000 Date: Mon, 21 Jan 2002 16:54:00 -0000 Message-ID: <20020122005405.23936.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, ojolly@caramail.com From: rodrigc@gcc.gnu.org Reply-To: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, ojolly@caramail.com, gcc-gnats@gcc.gnu.org X-Mailer: gnatsweb 2.9.3 Subject: Re: c/5448: gcc emits internal error (unrecognized insn) X-SW-Source: 2002-01/txt/msg00737.txt.bz2 List-Id: Synopsis: gcc emits internal error (unrecognized insn) State-Changed-From-To: open->analyzed State-Changed-By: rodrigc State-Changed-When: Mon Jan 21 16:54:04 2002 State-Changed-Why: Crash reproduced on gcc 3.0.3 and gcc 3.1 mainline. The line which is causing the problem is: section[pWrd - sCfgFileLine - 1] = '\0'; where the variables are: char *section; char *pWrd; char sCfgFileLine[8192]; What exactly are you trying to do in this piece of code? The compiler should not crash, but this code looks suspect. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5448