[Bug c++/36900] New: ICE: in propagate_one_insn, at flow.c:1734

oliver dot regenfelder at gmx dot at gcc-bugzilla@gcc.gnu.org
Tue Jul 22 15:31:00 GMT 2008


A small c++ program causes this ICE if optimization level is 1 ore above

[my_computer]$ g++ -v -save-temps -O3 compiler_bug.cpp 
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
--enable-targets=all --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
 /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1plus -E -quiet -v -D_GNU_SOURCE
compiler_bug.cpp -mtune=generic -O3 -fpch-preprocess -o compiler_bug.ii
ignoring nonexistent directory "/usr/local/include/i486-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../i486-linux-gnu/include"
ignoring nonexistent directory "/usr/include/i486-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/c++/4.2
 /usr/include/c++/4.2/i486-linux-gnu
 /usr/include/c++/4.2/backward
 /usr/local/include
 /usr/lib/gcc/i486-linux-gnu/4.2.3/include
 /usr/include
End of search list.
 /usr/lib/gcc/i486-linux-gnu/4.2.3/cc1plus -fpreprocessed compiler_bug.ii
-quiet -dumpbase compiler_bug.cpp -mtune=generic -auxbase compiler_bug -O3
-version -fstack-protector -fstack-protector -o compiler_bug.s
GNU C++ version 4.2.3 (Ubuntu 4.2.3-2ubuntu7) (i486-linux-gnu)
        compiled by GNU C version 4.2.3 (Ubuntu 4.2.3-2ubuntu7).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 9cf91ba46d80e564052e4fbab0d6561b
compiler_bug.cpp: In function ‘int main(int, char**)’:
compiler_bug.cpp:67: error: Attempt to delete prologue/epilogue insn:
(insn/f 127 126 128 2 (set (mem:SI (plus:SI (reg/f:SI 6 bp)
                (const_int -16 [0xfffffffffffffff0])) [0 S4 A8])
        (reg:SI 2 cx)) -1 (nil)
    (nil))
compiler_bug.cpp:67: internal compiler error: in propagate_one_insn, at
flow.c:1734
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
oliver@oliver-ubuntu:~/GameEngine/eclipse-workspace/GameEngine/performance_evaluation$


-- 
           Summary: ICE:  in propagate_one_insn, at flow.c:1734
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: oliver dot regenfelder at gmx dot at


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



More information about the Gcc-bugs mailing list