From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3742 invoked by alias); 19 Dec 2002 23:03:34 -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 3722 invoked by uid 61); 19 Dec 2002 23:03:33 -0000 Date: Thu, 19 Dec 2002 15:03:00 -0000 Message-ID: <20021219230333.3721.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, kain@cse.ogi.edu, nobody@gcc.gnu.org From: bangerth@dealii.org Reply-To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, kain@cse.ogi.edu, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/8993: ICE with -march=pentium4 X-SW-Source: 2002-12/txt/msg01048.txt.bz2 List-Id: Old Synopsis: ICE during VTK compile New Synopsis: ICE with -march=pentium4 State-Changed-From-To: feedback->closed State-Changed-By: bangerth State-Changed-When: Thu Dec 19 15:03:33 2002 State-Changed-Why: I got the source in private mail. After some deletions, the ICE can be triggered with this simple piece of code: ------------------------------ void bar() { float *p, *q, f; if (*p) *q = 0; else *q = f; } -------------------------- tmp/g> /home/bangerth/bin/gcc-3.2.2-pre/bin/c++ -c -march=pentium4 -O3 x.ii x.ii: In function `void bar()': x.ii:7: could not split insn (insn 53 63 64 (set (reg:SF 23 exmm2 [62]) (if_then_else:SF (eq (mem:SF (reg/v/f:SI 0 eax [58]) [2 S4 A32]) (reg:SF 23 exmm2 [62])) (reg/v:SF 22 exmm1 [60]) (const_double:SF 0 [0x0] 0 [0x0] 0 [0x0] 0 [0x0] 0 [0x0]))) 643 {*sse_movsfcc_const0_3} (insn_list 20 (nil)) (expr_list:REG_DEAD (reg/v:SF 22 exmm1 [60]) (nil))) x.ii:7: Internal compiler error in final_scan_insn, at final.c:2622 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. It works on mainline, though. Since -march=pentium4 has not existed in any prior version, this is not a regression and I close it since it is apparently fixed in mainline. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8993