https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62009

            Bug ID: 62009
           Summary: Bootstrap failure on i686
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: izamyatin at gmail dot com
            Target: i686

After r213517 | tbsaunde | 2014-08-02 15:34:54 +0400 (Sat, 02 Aug 2014) | 27
lines

convert many uses of pointer_map to hash_map

gcc/c-family/

        * cilk.c: Use hash_map instead of pointer_map.

gcc/c/

        * c-typeck.c: Use hash_map instead of pointer_map.

gcc/cp/

        * optimize.c, semantics.c: Use hash_map instead of pointer_map.

gcc/

        * hash-map.h (default_hashmap_traits::mark_key_deleted):
        Fix cast.
        (hash_map::remove): New method.
(hash_map::traverse): New method.
        * cgraph.h, except.c, except.h, gimple-ssa-strength-reduction.c,
        ipa-utils.c, lto-cgraph.c, lto-streamer.h, omp-low.c, predict.c,
        tree-cfg.c, tree-cfgcleanup.c, tree-eh.c, tree-eh.h, tree-inline.c,
        tree-inline.h, tree-nested.c, tree-sra.c, tree-ssa-loop-im.c,
        tree-ssa-loop-ivopts.c, tree-ssa-reassoc.c, tree-ssa-structalias.c,
        tree-ssa.c, tree-ssa.h, var-tracking.c: Use hash_map instead of
 pointer_map.

bootstrap for the following configuration 

CC="gcc -m32" CXX="g++ -m32" ../src-trunk/configure --enable-clocale=gnu
--with-system-zlib --enable-shared --with-demangler-in-ld i686-linux
--with-fpmath=sse --enable-languages=c,c++,fortran,java,lto,objc

fails like:

../../src-trunk/gcc/dwarf2cfi.c:706:1: internal compiler error: in splice, at
vec.h:844
 def_cfa_0 (dw_cfa_location *old_cfa, dw_cfa_location *new_cfa)
 ^
0x8c0c15f vec<_edge_var_map, va_heap, vl_embed>::splice(vec<_edge_var_map,
va_heap, vl_embed>&)
    ../../src-trunk/gcc/vec.h:844
0x8c0bd72 vec<_edge_var_map, va_heap, vl_ptr>::splice(vec<_edge_var_map,
va_heap, vl_ptr>&)
    ../../src-trunk/gcc/vec.h:1495
0x8c0b783 vec<_edge_var_map, va_heap, vl_ptr>::safe_splice(vec<_edge_var_map,
va_heap, vl_ptr>&)
    ../../src-trunk/gcc/vec.h:1512
0x8c06770 redirect_edge_var_map_dup(edge_def*, edge_def*)
    ../../src-trunk/gcc/tree-ssa.c:113
0x859bbac redirect_edge_succ_nodup(edge_def*, basic_block_def*)
    ../../src-trunk/gcc/cfghooks.c:437
0x8c068e3 ssa_redirect_edge(edge_def*, basic_block_def*)
    ../../src-trunk/gcc/tree-ssa.c:173
0x8a2c86b gimple_try_redirect_by_replacing_jump
    ../../src-trunk/gcc/tree-cfg.c:5419
0x8a2c90b gimple_redirect_edge_and_branch
    ../../src-trunk/gcc/tree-cfg.c:5450
0x859b940 redirect_edge_and_branch(edge_def*, basic_block_def*)
    ../../src-trunk/gcc/cfghooks.c:356
0x8a38335 remove_forwarder_block
    ../../src-trunk/gcc/tree-cfgcleanup.c:445
0x8a38b5b cleanup_tree_cfg_bb
    ../../src-trunk/gcc/tree-cfgcleanup.c:633
0x8a38c57 cleanup_tree_cfg_1
    ../../src-trunk/gcc/tree-cfgcleanup.c:675
0x8a38d88 cleanup_tree_cfg_noloop
    ../../src-trunk/gcc/tree-cfgcleanup.c:731
0x8a38ea2 cleanup_tree_cfg()
    ../../src-trunk/gcc/tree-cfgcleanup.c:786
0x8906f96 execute_function_todo
    ../../src-trunk/gcc/passes.c:1702
0x8906426 do_per_function
    ../../src-trunk/gcc/passes.c:1476
0x89072c5 execute_todo
    ../../src-trunk/gcc/passes.c:1806
Please submit a full bug report,

Reply via email to