This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/11604] New: Internal compiler error in subst_stack_regs_pat, at reg-stack.c:1441 (using -march=pentium4)


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary:  Internal compiler error in subst_stack_regs_pat, at
                    reg-stack.c:1441 (using -march=pentium4)
           Product: gcc
           Version: 3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: daniel dot franke at imbs dot uni-luebeck 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

Hi, it's somewhat like an odyysee to submit a bug ... here it is:

compiling the same code with ot without "-march=pentium" (or "-mcpu=pentium4",
that doesn't matter) it results in:

--snip--
 gcc -save-temps -v -O2 -mcpu=pentium4  -I./ansilib/ -D_SYS_OSF -c
src/nplscore.c            
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.2/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib
--enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.2
 /usr/lib/gcc-lib/i486-suse-linux/3.2/cpp0 -lang-c -v -I./ansilib/ -D__GNUC__=3
-D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0 -D__GXX_ABI_VERSION=102 -D__ELF__
-Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__
-D__unix -D__linux -Asystem=posix -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Acpu=i386
-Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_pentium4__ -D_SYS_OSF
src/nplscore.c nplscore.i
GNU CPP version 3.2 (cpplib) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 ansilib
 /usr/local/include
 /usr/lib/gcc-lib/i486-suse-linux/3.2/include
 /usr/i486-suse-linux/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i486-suse-linux/3.2/cc1 -fpreprocessed nplscore.i -quiet
-dumpbase nplscore.c -mcpu=pentium4 -O2 -version -o nplscore.s
GNU CPP version 3.2 (cpplib) (i386 Linux/ELF)
GNU C version 3.2 (i486-suse-linux)
        compiled by GNU C version 3.2.
src/nplscore.c: In function `apm_score':
src/nplscore.c:16: Internal compiler error in subst_stack_regs_pat, at
reg-stack.c:1441
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
--snap--

Please find attached *.[cis]

If necessary, it's public available package, called genehunter (gh), I used
gh-v2.1_r4.tar.gz (http://www.fhcrc.org/labs/kruglyak/Downloads)

I'm not the developer, I just have to use it ;)
Please let me now if anything else is needed ...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]