[Bug rtl-optimization/18614] New: ICE in simplify_binary_operation

2004-11-22 Thread sbo at mis dot mpg dot de
When I feed the following program ice.c

typedef double v2df __attribute__ ((mode(V2DF)));
int main()
{
  volatile v2df xd;
  v2df yd = { 1.0, 4.0 };
  xd = 
__builtin_ia32_cvtps2pd(__builtin_ia32_rsqrtps(__builtin_ia32_cvtpd2ps(yd)));
  return 0;
}

to GCC 3.4.3 with

gcc -march=pentium4 -mcpu=pentium4 -msse2 -funroll-loops ice.c -o ice

I get the following:

ice.c: In function `main':
ice.c:11: internal compiler error: in simplify_binary_operation, at
simplify-rtx.c:1202

If I omit -funroll-loops, everything seems to work.

Best regards,
Steffen 8-)

-- 
   Summary: ICE in simplify_binary_operation
   Product: gcc
   Version: 3.4.3
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sbo at mis dot mpg dot de
CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18614


[Bug middle-end/18582] New: Internal compiler error with arrays of type V2DF

2004-11-20 Thread sbo at mis dot mpg dot de
Using

  gcc -c ice.c

with the following file ice.c

  typedef double v2df __attribute__((mode(V2DF)));
  void
  sse_interpolate_kernel()
  {
double x2[2];
v2df xs[2];
xs[0] = __builtin_ia32_loadupd(x2);
  }

leads to the following internal compiler error:

  ice.c: In function `sse_interpolate_kernel':
  ice.c:11: internal compiler error: in instantiate_virtual_regs_lossage, at
function.c:3756
  Please submit a full bug report,

The error seems to disappear if I replace the array xs by simple variables or if
I use -O.

-- 
   Summary: Internal compiler error with arrays of type V2DF
   Product: gcc
   Version: 3.4.3
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sbo at mis dot mpg dot de
CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18582