c/7225: ice on generic vectors (floats)
Andrew Pinski
pinskia@physics.uc.edu
Sat Jul 6 14:36:00 GMT 2002
>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:
More information about the Gcc-prs
mailing list