From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32270 invoked by alias); 5 Nov 2002 17:28:47 -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 32251 invoked by uid 61); 5 Nov 2002 17:28:46 -0000 Date: Tue, 05 Nov 2002 09:28:00 -0000 Message-ID: <20021105172846.32250.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jvd@homer.simpson, nobody@gcc.gnu.org From: reichelt@igpm.rwth-aachen.de Reply-To: reichelt@igpm.rwth-aachen.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jvd@homer.simpson, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/7782: [mainline regression] C++ compiler internal error in delete_insn, at cfgrtl.c:139 X-SW-Source: 2002-11/txt/msg00240.txt.bz2 List-Id: Old Synopsis: C++ compiler internal error in delete_insn, at cfgrtl.c:139 New Synopsis: [mainline regression] C++ compiler internal error in delete_insn, at cfgrtl.c:139 State-Changed-From-To: open->analyzed State-Changed-By: reichelt State-Changed-When: Tue Nov 5 09:28:45 2002 State-Changed-Why: The bug is fixed on the 3.2 branch but still present on mainline. It's a regression from 3.0.x where the code compiled fine - thus "high priority". BTW, the problem can be demonstrated with the following reduced testcase: -------------------------snip here----------------------- struct A { long long x, y; void bar () const { A a; a.y = ~y; if ((a.x = -y)) ++a.y; } void foo (int) const; }; void A::foo (int i) const { if (i) bar(); if (i) bar(); } -------------------------snip here----------------------- The bug seems to be target specific since it does not show up on mips-sgi-irix6.5. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7782