The example (attached below), when compiled by following gcc

-------------------
$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../../../gcc-CVS-20050930/gcc-CVS-20050930/configure
--host=i686-pc-linux-gnu --prefix=/usr/local/opt/gcc-4.1
--exec-prefix=/usr/local/opt/gcc-4.1 --sysconfdir=/etc
--libdir=/usr/local/opt/gcc-4.1/lib --libexecdir=/usr/local/opt/gcc-4.1/libexec
--sharedstatedir=/var --localstatedir=/var --program-suffix=-4.1
--with-x-includes=/usr/X11R6/include --with-x-libraries=/usr/X11R6/lib
--enable-shared --enable-static --with-gnu-as --with-gnu-ld --with-stabs
--enable-threads=posix --enable-version-specific-runtime-libs --disable-coverage
--disable-libgcj --disable-checking --enable-multilib --with-x --enable-cmath
--enable-libstdcxx-debug --enable-fast-character --enable-hash-synchronization
--with-system-zlib --with-libbanshee --with-demangler-in-ld
--with-arch=athlon-xp --disable-libada --enable-languages=c,c++,f95,objc
Thread model: posix
gcc version 4.1.0 20050930 (experimental)
-------------------

with

-------------------
gcc -c -O3 -finline-limit=1024 -ftree-vectorize -ftracer -o minilzo.o minilzo.c
-------------------

results in this:

-------------------
native/minilzo.c: In function ‘__lzo_init2’:
native/minilzo.c:1278: error: unable to generate reloads for:
(insn:HI 394 392 396 29 (set (reg:V4SI 21 xmm0 [orig:93 vect_cst_.1512 ] [93])
        (vec_duplicate:V4SI (plus:SI (reg/f:SI 6 bp)
                (const_int -104 [0xffffff98])))) 757 {*vec_dupv4si} (nil)
    (nil))
native/minilzo.c:1278: internal compiler error: in find_reloads, at 
reload.c:3730
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
-------------------

This only fails on x86, on x86-64 it works. Also I did some checkings with some
older CVS's that I still have allready compiled and it seems that the regression
was introduced somewhere between CVS-20050723 (which works) and CVS-20050812
(which doesn't).

-- 
           Summary: [4.1 Regression] ICE with -O3 -finline-limit=1024 -
                    ftree-vectorize -ftracer
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: drab at kepler dot fjfi dot cvut dot cz
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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

Reply via email to