[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#166940: gcc-3.2: internal error using builtin shift MMX functions



Package: gcc-3.2
Version: 1:3.2.1-0pre4
Severity: normal
Tags: upstream

I tried to compile the following code:

// mmxtest.c
typedef int v4hi __attribute__ ((mode(V4HI)));
int main(int argc,char *argv[])
{
  v4hi a;
  v4hi result =  __builtin_ia32_psraw(a,1);
}

with: gcc-3.2 -mmmx -c mmxtest.c
and got the following error:
mmxtest.c: In function `main':
mmxtest.c:6: Internal compiler error in ix86_expand_binop_builtin, at
config/i386/i386.c:11503
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

I am getting the same error with psllw and psrlw, I have not tested
others.

							Petr
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux pach 2.4.20-pre11 #1 SMP Wed Oct 16 15:16:03 EDT 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gcc-3.2 depends on:
ii  binutils                  2.13.90.0.10-1 The GNU assembler, linker and bina
ii  cpp-3.2                   1:3.2.1-0pre4  The GNU C preprocessor.
ii  gcc-3.2-base              1:3.2.1-0pre4  The GNU Compiler Collection (base 
ii  libc6                     2.3.1-3        GNU C Library: Shared libraries an
ii  libgcc1                   1:3.2.1-0pre4  GCC support library.

-- no debconf information




Reply to: