This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/10631: gcc-20030428 internal compiler error


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]