public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Andrew Pinski <pinskia@physics.uc.edu>
To: gcc-gnats@gcc.gnu.org
Subject: c/7225: ice on generic vectors (floats)
Date: Sat, 06 Jul 2002 14:36:00 -0000	[thread overview]
Message-ID: <200207062131.g66LVdD24367@tin.geop.uc.edu> (raw)


>Number:         7225
>Category:       c
>Synopsis:       ice on generic vectors (floats)
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 06 14:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Pinski
>Release:        3.2 20020706 (experimental)
>Organization:
University of Cincinnati
>Environment:
System: Linux tin.geop.uc.edu 2.4.18-0.13 #1 Mon Apr 1 14:59:55 EST 2002 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /home/gates/pinskia/src/gnu/gcc/src/configure --target=i686-pc-linux-gnu --prefix=/home/gates/pinskia/linux --enable-threads=posix --enable-shared
>Description:
ice on vector with floats:
gcc -O3 vector.c
vector.c: In function `tempf':
vector.c:18: error: unrecognizable insn:
(insn:HI 48 50 49 0 (nil) (set (subreg:SI (reg:V2SF 67) 0)
        (subreg:SI (const_vector:V2SF [
                    (const_double:SF 0 [0x0] 0 [0x0] 0 [0x0])
                    (const_double:SF 0 [0x0] 0 [0x0] 0 [0x0])
                ]) 0)) -1 (insn_list 50 (nil))
    (nil))
vector.c:18: internal compiler error: Internal compiler error in extract_insn, at recog.c:2146
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

file vector.c:

typedef float floatvect2 __attribute__((mode(V2SF)));

typedef union
{
    floatvect2 vector;
    float f[2];
}resfloatvect2;

void tempf(float *x, float *y)
{
        floatvect2 temp={x[0],x[1]};
        floatvect2 temp1={y[0],y[1]};
        resfloatvect2 temp2;
        temp2.vector=temp+temp1;
        x[0]=temp2.f[0];
        x[1]=temp2.f[1];
}
>How-To-Repeat:
	read above
>Fix:
	unkown.
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-07-06 21:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-06 14:36 Andrew Pinski [this message]
2002-07-12 20:26 Andrew Pinski
2002-07-13  2:19 neil

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=200207062131.g66LVdD24367@tin.geop.uc.edu \
    --to=pinskia@physics.uc.edu \
    --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).