From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14229 invoked by alias); 23 Feb 2003 07:16:01 -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 14203 invoked by uid 71); 23 Feb 2003 07:16:00 -0000 Resent-Date: 23 Feb 2003 07:16:00 -0000 Resent-Message-ID: <20030223071600.14201.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, Rick Younie , tagoh@debian.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, 177840@bugs.debian.org Received: (qmail 11273 invoked from network); 23 Feb 2003 07:08:24 -0000 Received: from unknown (HELO hirsch.in-berlin.de) (192.109.42.6) by 172.16.49.205 with SMTP; 23 Feb 2003 07:08:24 -0000 Received: from tango.net.local (mail@dsl-213-023-022-197.arcor-ip.net [213.23.22.197]) (authenticated bits=0) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with ESMTP id h1N78LuP014165 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT); Sun, 23 Feb 2003 08:08:22 +0100 Received: from doko by tango.net.local with local (Exim 4.12 #1 (Debian) [+araqnid]) id 18mqF8-00083k-00; Sun, 23 Feb 2003 08:08:10 +0100 Message-Id: Date: Sun, 23 Feb 2003 07:16:00 -0000 From: Matthias Klose Reply-To: 177840@bugs.debian.org To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org X-Send-Pr-Version: 3.113 X-GNATS-Notify: Rick Younie , tagoh@debian.org Subject: optimization/9812: [3.2/3.3 regression] ICE in extract_insn, at recog.c:2148 X-SW-Source: 2003-02/txt/msg01148.txt.bz2 List-Id: >Number: 9812 >Category: optimization >Synopsis: [3.2/3.3 regression] ICE in extract_insn, at recog.c:2148 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Sun Feb 23 07:16:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Rick Younie >Release: 3.2.2 (Debian) (Debian unstable) >Organization: The Debian Project >Environment: System: Debian GNU/Linux (unstable) Architecture: m68k-linux >Description: [ Reported to the Debian BTS as report #177840. Please CC 177840@bugs.debian.org on replies. Log of report can be found at http://bugs.debian.org/177840 ] This is a regression compared to gcc-3.0.4 and gcc-2.95.[34]. The following code, extracted from gtk+2.0 ICEs on m68k-linux, reducing to -O1 avoids the ICE. Checked with 3.2 branch 20021231 and 3.3 branch 20030221 $ gcc-3.2 -O2 -pthread -g -Wall -fPIC -c bug-177840-3.i bug-177840-3.i: In function `bilinear_quadrant': bug-177840-3.i:55: unrecognizable insn: (insn 263 69 71 (set (reg:DF 17 %fp1) (const_double:DF 0 [0x0] 0 [0x0] 0 [0x0])) -1 (nil) (nil)) bug-177840-3.i:55: Internal compiler error in extract_insn, at recog.c:2148 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. $ /scratch/gcc/gcc-snapshot-20030221/build/gcc/xgcc -B/scratch/gcc/gcc-snapshot-20030221/build/gcc/ -O2 -pthread -g -Wall -fPIC -c bug-177840-3.i bug-177840-3.i: In function `bilinear_quadrant': bug-177840-3.i:55: error: unrecognizable insn: (insn 256 67 68 6 (nil) (set (reg:DF 16 %fp0) (const_double:DF 0 [0x0] 0.0 [0x0.0p+0])) -1 (nil) (nil)) bug-177840-3.i:55: internal compiler error: in extract_insn, at recog.c:2175 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. ------------------------------------------- double bilinear_quadrant (double bx0, double bx1, double by0, double by1) { double ax0, ax1, ay0, ay1; double x0, x1, y0, y1; ax0 = 0.; ax1 = 1.; ay0 = 0.; ay1 = 1.; if (ax0 < bx0) { if (ax1 > bx0) { x0 = bx0; x1 = (((ax1) < (bx1)) ? (ax1) : (bx1)); } else return 0; } else { if (bx1 > ax0) { x0 = ax0; x1 = (((ax1) < (bx1)) ? (ax1) : (bx1)); } else return 0; } if (ay0 < by0) { if (ay1 > by0) { y0 = by0; y1 = (((ay1) < (by1)) ? (ay1) : (by1)); } else return 0; } else { if (by1 > ay0) { y0 = ay0; y1 = (((ay1) < (by1)) ? (ay1) : (by1)); } else return 0; } return 0.25 * (x1*x1 - x0*x0) * (y1*y1 - y0*y0); } ------------------------------------------- >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: