public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: athena@fftw.org
To: gcc-gnats@gcc.gnu.org
Subject: c/10631: gcc-20030428 internal compiler error
Date: Mon, 05 May 2003 17:06:00 -0000	[thread overview]
Message-ID: <E19CjTS-0007Ed-00@ab-initio.mit.edu> (raw)


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


                 reply	other threads:[~2003-05-05 17:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E19CjTS-0007Ed-00@ab-initio.mit.edu \
    --to=athena@fftw.org \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).