From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17146 invoked by alias); 25 Dec 2002 00: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 17132 invoked by uid 71); 25 Dec 2002 00:56:00 -0000 Date: Tue, 24 Dec 2002 16:56:00 -0000 Message-ID: <20021225005600.17131.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Patrick Smith Subject: Re: optimization/9015: bc segfaults when compiled with optimization Reply-To: Patrick Smith X-SW-Source: 2002-12/txt/msg01275.txt.bz2 List-Id: The following reply was made to PR optimization/9015; it has been noted by GNATS. From: Patrick Smith To: Wolfgang Bangerth Cc: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: optimization/9015: bc segfaults when compiled with optimization Date: Tue, 24 Dec 2002 19:51:39 -0500 Found it. This turns out to be a bug in GNU bc. As luck would have it, it only seems to cause damage when compiled with optimization on and a recent gcc. :-( Sorry to have bothered you. (In case you're interested... load_code saves data in a local variable on one call, and then tries to retrieve that data on a subsequent call.) -- patsmith@pobox.com