[Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc

kkojima at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 23 14:44:00 GMT 2004


3.4.0 fails to bootstrap on sh4-unknown-linux-gnu because of
the hang-up when compiling libstdc++-v3/testsuite/abi_check.cc.
It seems that the i686-linux x sh4-unknown-linux-gnu behaves
same as the native compiler and with -fno-unit-at-a-time both
native and cross cc1plus compiles abi_check.cc normally.

FYI, when it looks halting, cross cc1plus takes almost cpu time:

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 5565 kkojima   17   0 54656  53M  3376 R    99.5 21.3  45:02 cc1plus

and gdb attatched to it says

#0  0x080e1b18 in bitmap_set_bit (head=0x86acfa0, bit=394)
    at ../../LOCAL/gcc-3.4/gcc/bitmap.c:310
#1  0x0815f13e in mark_set_1 (pbi=0x848e8d8, code=SET, reg=0x417e9ff0, 
    cond=0x0, insn=0x411caf78, flags=16) at ../../LOCAL/gcc-3.4/gcc/flow.c:2673
#2  0x0815eaae in mark_set_regs (pbi=0x848e8d8, x=0x42245024, insn=0x411caf78)
    at ../../LOCAL/gcc-3.4/gcc/flow.c:2468
#3  0x0815db01 in propagate_one_insn (pbi=0x848e8d8, insn=0x411caf78)
    at ../../LOCAL/gcc-3.4/gcc/flow.c:1667
#4  0x0815e21b in propagate_block (bb=0x851fec8, live=0xbfffef9c, 
    local_set=0x84f54f8, cond_local_set=0x84f5508, flags=16)
    at ../../LOCAL/gcc-3.4/gcc/flow.c:2036
#5  0x0815d146 in calculate_global_regs_live (blocks_in=0x86acf20, 
    blocks_out=0x86acf20, flags=16) at ../../LOCAL/gcc-3.4/gcc/flow.c:1275
#6  0x0815c1d7 in update_life_info (blocks=0x86acf20, 
    extent=UPDATE_LIFE_GLOBAL_RM_NOTES, prop_flags=25)
    at ../../LOCAL/gcc-3.4/gcc/flow.c:624
#7  0x0815c690 in update_life_info_in_dirty_blocks (
    extent=UPDATE_LIFE_GLOBAL_RM_NOTES, prop_flags=25)
    at ../../LOCAL/gcc-3.4/gcc/flow.c:776
#8  0x0829ffaf in combine_instructions (f=0x40bd00a0, nregs=397)
    at ../../LOCAL/gcc-3.4/gcc/combine.c:742
#9  0x0825dd2d in rest_of_handle_combine (decl=0x41747244, insns=0x40bd00a0)

-- 
           Summary: cc1plus got hang-up on libstdc++-
                    v3/testsuite/abi_check.cc
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kkojima at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sh4-unknown-linux-gnu
  GCC host triplet: sh4-unknown-linux-gnu
GCC target triplet: sh4-unknown-linux-gnu


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



More information about the Gcc-bugs mailing list