From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13606 invoked by alias); 28 May 2002 13:56:04 -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 13477 invoked by uid 71); 28 May 2002 13:56:02 -0000 Resent-Date: 28 May 2002 13:56:02 -0000 Resent-Message-ID: <20020528135602.13476.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, torbjorn.wassberg@swipnet.se Received:(qmail 11407 invoked by uid 61); 28 May 2002 13:51:29 -0000 Message-Id:<20020528135129.11406.qmail@sources.redhat.com> Date: Tue, 28 May 2002 06:56:00 -0000 From: torbjorn.wassberg@swipnet.se Reply-To: torbjorn.wassberg@swipnet.se To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: optimization/6845: ICE with -O -march=pentium3/pentium2/athlon X-SW-Source: 2002-05/txt/msg00902.txt.bz2 List-Id: >Number: 6845 >Category: optimization >Synopsis: ICE with -O -march=pentium3/pentium2/athlon >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Tue May 28 06:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Torbjörn Wassberg >Release: gcc version 3.2 20020527 (experimental) >Organization: >Environment: Mandrake 8.2 x86 Configured with: ../gcc/configure --prefix=/usr/local/gcc/ --enable-languages=c >Description: I found this when trying to compile lbreakout 2.2.2 It only triggers when using -O or higher together with -march=pentium3, -march=pentium2 or -march=athlon (and perhaps others) a.c: In function `circle_intersect': a.c:10: Internal compiler error in ix86_secondary_memory_needed, at config/i386/i386.c:13513 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. I'm not sure if Vector delta = { pos.x - m.x, pos.y - m.y }; is legal, but it doesn't generate any warnings. >How-To-Repeat: >Fix: Replace Vector delta = { pos.x - m.x, pos.y - m.y }; with Vector delta; delta.x = pos.x - m.x; delta.y = pos.y - m.y; >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="a.i" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="a.i" IyAxICJhLmMiCiMgMSAiPGJ1aWx0LWluPiIKIyAxICI8Y29tbWFuZCBsaW5lPiIKIyAxICJhLmMi CnR5cGVkZWYgc3RydWN0IHsKICAgIGZsb2F0IHgsIHk7Cn0gVmVjdG9yOwoKaW50IGNpcmNsZV9p bnRlcnNlY3QoIFZlY3RvciBtLCBWZWN0b3IgcG9zKQp7CiAgICBWZWN0b3IgZGVsdGEgPSB7IHBv cy54IC0gbS54LCBwb3MueSAtIG0ueSB9OwoKICAgIHJldHVybiBkZWx0YS54Owp9Cg==