public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/5442: Internal compiler error if -msse intrinsic used with -O off
@ 2002-01-20 23:46 dmc
0 siblings, 0 replies; 2+ messages in thread
From: dmc @ 2002-01-20 23:46 UTC (permalink / raw)
To: gcc-gnats
>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 <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
Compile this code (fpxor.c) without -O:
#include <xmmintrin.h>
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==
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: optimization/5442: Internal compiler error if -msse intrinsic used with -O off
@ 2002-05-28 6:04 hubicka
0 siblings, 0 replies; 2+ messages in thread
From: hubicka @ 2002-05-28 6:04 UTC (permalink / raw)
To: dmc, gcc-bugs, gcc-prs, nobody
Synopsis: Internal compiler error if -msse intrinsic used with -O off
State-Changed-From-To: open->closed
State-Changed-By: hubicka
State-Changed-When: Tue May 28 05:51:41 2002
State-Changed-Why:
No longer reproduces
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5442
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-28 12:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-20 23:46 optimization/5442: Internal compiler error if -msse intrinsic used with -O off dmc
2002-05-28 6:04 hubicka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).