public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/10631: gcc-20030428 internal compiler error
@ 2003-05-05 17:06 athena
  0 siblings, 0 replies; only message in thread
From: athena @ 2003-05-05 17:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10631
>Category:       c
>Synopsis:       gcc 3.3 20030428 bug in simplifier for sse2 code
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon May 05 17:06:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Matteo Frigo
>Release:        3.3 20030428 (prerelease)
>Organization:
>Environment:
System: Linux vce 2.4.18-3smp #1 SMP Thu Apr 18 07:27:31 EDT 2002 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../configure --prefix=/tmp/local

>Description:

Program g.c, included below, causes ICE:

bash-2.05a$ /tmp/local/bin/gcc -O -msse2 /tmp/g.c
/tmp/g.c: In function `foo':
/tmp/g.c:7: internal compiler error: in simplify_unary_operation, at simplify-rtx.c:387
Please submit a full bug report,
with preprocessed source if appropriate.

>How-To-Repeat:

Compile this program with gcc -O -msse2 :

/* BEGIN PROGRAM */
typedef int V __attribute__ ((mode (V2DF)));

V foo(double x)
{
    V t = __builtin_ia32_loadsd (&x);
    return (V) __builtin_ia32_shufpd (t, t, 0);
}
/* END PROGRAM */

(This program is a simplification of _mm_set1_pd in xmmintrin.h)
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-05 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-05 17:06 c/10631: gcc-20030428 internal compiler error athena

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).