From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30897 invoked by alias); 28 Feb 2003 04:27:22 -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 30863 invoked by uid 48); 28 Feb 2003 04:27:21 -0000 Date: Fri, 28 Feb 2003 04:27:00 -0000 Message-ID: <20030228042721.30862.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, rz@linux-m68k.org, wilson@gcc.gnu.org From: wilson@gcc.gnu.org Reply-To: wilson@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, rz@linux-m68k.org, wilson@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c/7872: [m68k]ICE on legal code, regression from 3.0 and 2.9* X-SW-Source: 2003-02/txt/msg01474.txt.bz2 List-Id: Synopsis: [m68k]ICE on legal code, regression from 3.0 and 2.9* Responsible-Changed-From-To: unassigned->wilson Responsible-Changed-By: wilson Responsible-Changed-When: Fri Feb 28 04:27:21 2003 Responsible-Changed-Why: For state changes. State-Changed-From-To: feedback->analyzed State-Changed-By: wilson State-Changed-When: Fri Feb 28 04:27:21 2003 State-Changed-Why: add_equal_note has && (GET_CODE (SET_DEST (set)) != STRICT_LOW_PART || ! rtx_equal_p (SUBREG_REG (XEXP (SET_DEST (set), 0)), which is obviously wrong, since it is trying to go two levels into the RTL, but there is only one level. This has apparently been broken ever since the code was originally written in 1991. It is broken in gcc-2.0, and the first ChangeLog entry before that is the one that adds the function. I have a trivial patch for it which I am about to test. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7872