From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23184 invoked by alias); 21 Jan 2002 07:46: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 23155 invoked by uid 71); 21 Jan 2002 07:46:00 -0000 Resent-Date: 21 Jan 2002 07:46:00 -0000 Resent-Message-ID: <20020121074600.23154.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, dmc@bayarea.net Received:(qmail 20969 invoked by uid 61); 21 Jan 2002 07:37:56 -0000 Message-Id:<20020121073756.20968.qmail@sources.redhat.com> Date: Sun, 20 Jan 2002 23:46:00 -0000 From: dmc@bayarea.net Reply-To: dmc@bayarea.net To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: optimization/5442: Internal compiler error if -msse intrinsic used with -O off X-SW-Source: 2002-01/txt/msg00720.txt.bz2 List-Id: >Number: 5442 >Category: optimization >Synopsis: Internal compiler error if -msse intrinsic used with -O off >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Sun Jan 20 23:46:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Donald Craig >Release: 3.1 20020120 (experimental) >Organization: >Environment: System: CYGWIN_NT-5.0 DRAGON 1.3.7(0.51/3/2) 2002-01-19 13:20 i686 Athlon XP 1900+ host: i686-pc-cygwin build: i686-pc-cygwin target: i686-pc-cygwin configured with: ../gcc/configure --prefix=/usr/local/bin/gcc3.1 >Description: Compiling fpxor.c without optimization produces: $ gcc -g -msse -o fpxor fpxor.c fpxor.c: In function `main': fpxor.c:12: Internal compiler error in emit_move_insn, at expr.c:2746 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >How-To-Repeat: Compile this code (fpxor.c) without -O: #include int main( argc, argv ) int argc; char **argv; /* gcc -g -msse -o fpxor fpxor.c */ { static __m128 from1, from2, to; to = _mm_xor_ps( from1, from2 ); exit( 0 ); } >Fix: Compile with -O1 or -O2 or -O3 >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="fpxor.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="fpxor.c" I2luY2x1ZGUgPHhtbWludHJpbi5oPg0KDQppbnQgbWFpbiggYXJnYywgYXJndiApDQppbnQgYXJn YzsNCmNoYXIgKiphcmd2Ow0KLyoNCiAgZ2NjIC1nIC1tYXJjaD1hdGhsb24gLW1zc2UgLW8gZnB4 b3IgZnB4b3IuYw0KKi8NCiAgew0KICAgIHN0YXRpYyBfX20xMjggZnJvbTEsIGZyb20yLCB0bzsN Cg0KICAgIHRvID0gX21tX3hvcl9wcyggZnJvbTEsIGZyb20yICk7DQogICAgZXhpdCggMCApOw0K ICB9DQoNCg==