Can someone help me to thoroughly report an ICE on bootstrapping gcc 4.9.2. What I have so far: My System: Ubuntu 14.04 on a Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz Configuring with --with-arch=native and using -O3 -fgraphite-identity -pipe as BOOT_CFLAGS i get an ICE in Stage 2: /home/hete/gcc/gcc-4.9.2/Build/./prev-gcc/xg++ -B/home/hete/gcc/gcc-4.9.2/Build/./prev-gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++ -B/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include -I/home/hete/gcc/gcc-4.9.2/libstdc++-v3/libsupc++ -L/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/home/hete/gcc/gcc-4.9.2/Build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -c -DIN_GCC_FRONTEND -O3 -fgraphite-identity -pipe -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Icp -I../../gcc -I../../gcc/cp -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc/../libbacktrace -DCLOOG_INT_GMP -o cp/pt.o -MT cp/pt.o -MMD -MP -MF cp/.deps/pt.TPo ../../gcc/cp/pt.c ../../gcc/cp/pt.c: In Funktion »tree_node* add_to_template_args(tree, tree)«: ../../gcc/cp/pt.c:516:1: interner Compiler-Fehler: Speicherzugriffsfehler add_to_template_args (tree args, tree extra_args) ^ 0xb92df9 crash_signal ../../gcc/toplev.c:337 0x7ef7a1 loop_preheader_edge(loop const*) ../../gcc/cfgloop.c:1669 0xc3ef1e block_before_loop ../../gcc/tree-scalar-evolution.h:48 0xc422a4 analyze_scalar_evolution(loop*, tree_node*) ../../gcc/tree-scalar-evolution.c:2042 0xc4238e analyze_scalar_evolution_in_loop ../../gcc/tree-scalar-evolution.c:2139 0xc441c5 simple_iv(loop*, loop*, tree_node*, affine_iv*, bool) ../../gcc/tree-scalar-evolution.c:3247 0xac5fa1 is_comparison_with_loop_invariant_p ../../gcc/predict.c:1144 0xac71e0 predict_loops ../../gcc/predict.c:1611 0xac9167 tree_estimate_probability() ../../gcc/predict.c:2453 0x11c6a49 graphite_finalize ../../gcc/graphite.c:250 0x11c6c20 graphite_transform_loops() ../../gcc/graphite.c:310 0x11c6c59 graphite_transforms ../../gcc/graphite.c:332 0x11c6d86 execute ../../gcc/graphite.c:416 Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein; bearbeiten Sie die Quellen zunächst mit einem Präprozessor, wenn es dienlich ist. Please include the complete backtrace with any bug report. Siehe <http://gcc.gnu.org/bugs.html> für nähere Anweisungen. make[3]: *** [cp/pt.o] Fehler 1 make[3]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build/gcc' make[2]: *** [all-stage2-gcc] Fehler 2 make[2]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build' make[1]: *** [stage2-bubble] Fehler 2 make[1]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build' make: *** [bootstrap] Fehler 2 I get the same result using gcc-4.9-20141126 Using -O2 -fgraphite-identity -pipe as BOOT_CFLAGS there is no ICE. Configuring with --enable-checking=valgrind --with-arch=native and using additionally -j 3 as make option, i get /home/hete/gcc/gcc-4.9.2/Build2/./prev-gcc/xg++ -B/home/hete/gcc/gcc-4.9.2/Build2/./prev-gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++ -B/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include -I/home/hete/gcc/gcc-4.9.2/libstdc++-v3/libsupc++ -L/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/home/hete/gcc/gcc-4.9.2/Build2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -c -DIN_GCC_FRONTEND -O3 -fgraphite-identity -pipe -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Icp -I../../gcc -I../../gcc/cp -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc/../libbacktrace -DCLOOG_INT_GMP -o cp/typeck2.o -MT cp/typeck2.o -MMD -MP -MF cp/.deps/typeck2.TPo ../../gcc/cp/typeck2.c ==32657== Invalid read of size 8 ==32657== at 0x7F9809: loop_preheader_edge(loop const*) (cfgloop.c:1669) ==32657== by 0xC6092E: block_before_loop(loop*) (tree-scalar-evolution.h:48) ==32657== by 0xC63CB4: analyze_scalar_evolution(loop*, tree_node*) (tree-scalar-evolution.c:2042) ==32657== by 0xC63D9E: analyze_scalar_evolution_in_loop(loop*, loop*, tree_node*, bool*) (tree-scalar-evolution.c:2139) ==32657== by 0xC65BD5: simple_iv(loop*, loop*, tree_node*, affine_iv*, bool) (tree-scalar-evolution.c:3247) ==32657== by 0xADEA8B: is_comparison_with_loop_invariant_p(gimple_statement_base*, loop*, tree_node**, tree_code*, tree_node**, tree_node**) (predict.c:1144) ==32657== by 0xADFCCA: predict_loops() (predict.c:1611) ==32657== by 0xAE1C51: tree_estimate_probability() (predict.c:2453) ==32657== by 0x11F65A9: graphite_finalize(bool) (graphite.c:250) ==32657== by 0x11F6780: graphite_transform_loops() (graphite.c:310) ==32657== by 0x11F67B9: graphite_transforms() (graphite.c:332) ==32657== by 0x11F68E6: (anonymous namespace)::pass_graphite_transforms::execute() (graphite.c:416) ==32657== Address 0x8 is not stack'd, malloc'd or (recently) free'd ==32657== ../../gcc/cp/pt.c: In Funktion »tree_node* add_to_template_args(tree, tree)«: ../../gcc/cp/pt.c:516:1: interner Compiler-Fehler: Speicherzugriffsfehler add_to_template_args (tree args, tree extra_args) ^ Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein; bearbeiten Sie die Quellen zunächst mit einem Präprozessor, wenn es dienlich ist. Siehe <http://gcc.gnu.org/bugs.html> für nähere Anweisungen. make[3]: *** [cp/pt.o] Fehler 1 make[3]: *** Warte auf noch nicht beendete Prozesse... ../../gcc/config/i386/i386.c: In Funktion »int avx_vperm2f128_parallel(rtx, machine_mode)«: ../../gcc/config/i386/i386.c:36991:34: Warnung: Feldindex ist oberhalb der Feldgrenzen [-Warray-bounds] if (ipar[i] + 1 != ipar[i + 1]) ^ rm gfortran.pod gcc.pod make[3]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build2/gcc' make[2]: *** [all-stage2-gcc] Fehler 2 make[2]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build2' make[1]: *** [stage2-bubble] Fehler 2 make[1]: Verlasse Verzeichnis '/home/hete/gcc/gcc-4.9.2/Build2' make: *** [bootstrap] Fehler 2 Is there anything missing in the report? Thank's Henning