Hi,

the attached code, when compiled with the following gcc:

--------------------------------
$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../../../gcc-SVN-20070121/gcc-SVN-20070121/configure
--prefix=/usr/local/MDLinux/opt/gcc-4.3
--exec-prefix=/usr/local/MDLinux/opt/gcc-4.3 --sysconfdir=/etc
--libdir=/usr/local/MDLinux/opt/gcc-4.3/lib
--libexecdir=/usr/local/MDLinux/opt/gcc-4.3/libexec --sharedstatedir=/var
--localstatedir=/var --program-suffix=-4.3 --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-werror --enable-tls
--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 --disable-rpath --with-arch=athlon-xp --disable-libada
--enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.3.0 20070121 (experimental)
--------------------------------

using following command line:

--------------------------------
gcc -O1 -ftree-pre -ftree-loop-linear -funroll-loops -c psycho_n1.c -o
psycho_n1.o
--------------------------------

ICEs like this:

--------------------------------
psycho_n1.c: In function ‘psycho_n1’:
psycho_n1.c:64: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--------------------------------

Removal of any of the optimizing flags makes it compile. Tested on i686.


-- 
           Summary: ICE with -O1 -ftree-pre -ftree-loop-linear -funroll-
                    loops
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: drab at kepler dot fjfi dot cvut dot cz
 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=30565

Reply via email to