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

Bug#560282: gcc-4.4: cc1 crashes with simple test file



Package: gcc-4.4
Version: 4.4.2-3
Severity: critical


When trying to compile the following very simple test file:

*** main.c
#include <mm3dnow.h>

void Butterfly_3(__m64 *D,__m64 SC,unsigned int IStep,unsigned int Off)
{ __m64 T,T1,T2;

  T=_m_pfmul(D[Off+1],SC);
  T1=D[Off+0];D[Off+0]=_m_pfadd(T1,T);D[Off+1]=_m_pfsub(T1,T);
}
***

The following error appears:

cc1: error: main.c: Value too large for defined data type

The command line is:

gcc -march=athlon -fverbose-asm -S -O3 main.c

The same source file compiles with GCC 4.3.2 and GCC 4.3.4 as they are in fully
updated Debian stable and testing releases.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gcc-4.4 depends on:
ii  binutils                      2.20-4     The GNU assembler, linker and bina
ii  cpp-4.4                       4.4.2-3    The GNU C preprocessor
ii  gcc-4.4-base                  4.4.2-3    The GNU Compiler Collection (base 
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.2-3  GCC support library
ii  libgomp1                      4.4.2-3    GCC OpenMP (GOMP) support library

Versions of packages gcc-4.4 recommends:
ii  libc6-dev                     2.10.2-2   GNU C Library: Development Librari

Versions of packages gcc-4.4 suggests:
pn  gcc-4.4-doc                   <none>     (no description available)
pn  gcc-4.4-locales               <none>     (no description available)
pn  gcc-4.4-multilib              <none>     (no description available)
pn  libcloog-ppl0                 <none>     (no description available)
pn  libgcc1-dbg                   <none>     (no description available)
pn  libgomp1-dbg                  <none>     (no description available)
pn  libmudflap0-4.4-dev           <none>     (no description available)
pn  libmudflap0-dbg               <none>     (no description available)
pn  libppl-c2                     <none>     (no description available)
pn  libppl7                       <none>     (no description available)

-- no debconf information






Reply to: