Starting program:
/scratch/obj.i686/br2/br.update.sh4/build_sh4/staging_dir/usr/libexec/gcc/sh4-linux-uclibcgnueabi/4.3.0/cc1
-fpreprocessed dbxout.i -quiet -dumpbase dbxout.i -auxbase-strip dbx.o -Os
-version -fno-tree-dominator-opts -o /tmp/ccb7b5R5.s
Failed to read a valid object file image from memory.
GNU C (GCC) version 4.3.0 20080115 (experimental) (sh4-linux-uclibcgnueabi)
        compiled by GNU C version 4.1.2 20061115 (prerelease) (Debian
4.1.1-21), GMP version 4.2.2, MPFR version 2.3.0-p4.
warning: GMP header version 4.2.2 differs from library version 4.2.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: caac816702a5933f767e8f9443d577b8

Program received signal SIGSEGV, Segmentation fault.
prescan_insns_for_dce (fast=1 '\001')
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/dce.c:410
410           if (INSN_P (insn))
(gdb) bt
#0  prescan_insns_for_dce (fast=1 '\001')
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/dce.c:410
#1  0x0867d858 in rest_of_handle_fast_dce ()
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/dce.c:722
#2  0x0867dfba in run_fast_df_dce ()
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/dce.c:830
#3  0x0815ab65 in df_lr_local_finalize (all_blocks=0x8f8872c)
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/df-problems.c:1022
#4  0x08158dc1 in df_analyze_problem (dflow=0x89d7e70, 
    blocks_to_consider=0x8f8872c, postorder=0x8d08b18, n_blocks=194)
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/df-core.c:1065
#5  0x08158ff3 in df_analyze ()
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/df-core.c:1155
#6  0x0834d970 in schedule_insns ()
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/sched-rgn.c:2939
#7  0x0834de7b in rest_of_handle_sched ()
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/sched-rgn.c:3164
#8  0x082de2df in execute_one_pass (pass=0x8809fe0)
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/passes.c:1118
#9  0x082de4e7 in execute_pass_list (pass=0x8809fe0)
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/passes.c:1171
#10 0x082de4fa in execute_pass_list (pass=0x8809440)
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/passes.c:1172
#11 0x083e1a8c in tree_rest_of_compilation (fndecl=0xb7382e80)
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/tree-optimize.c:404
#12 0x085b4f38 in cgraph_expand_function (node=0xb7327300)
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/cgraphunit.c:1152
#13 0x085b750e in cgraph_optimize ()
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/cgraphunit.c:1215
#14 0x0805cefc in c_write_global_declarations ()
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/c-decl.c:8077
#15 0x08377010 in do_compile ()
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/toplev.c:1055
#16 0x083777e7 in toplev_main (argc=13, argv=0xbff46414)
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/toplev.c:2277
#17 0x080df082 in main (argc=Cannot access memory at address 0x1
)
    at
/scratch/obj.i686/br2/br.update.sh4/toolchain_build_sh4/gcc-4.3.0/gcc/main.c:35
(gdb) p *insn
Cannot access memory at address 0x0
(gdb) c
Continuing.
dbxout.i: In function 'dbxout_symbol_location':
dbxout.i:21344: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Program exited with code 04.

Reducing.


-- 
           Summary: ICE in prescan_insns_for_dce
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, build
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aldot at gcc dot gnu dot org
 GCC build triplet: i386-linux-gnu
  GCC host triplet: sh4-linux-uclibcgnueabi
GCC target triplet: sh4-linux-uclibcgnueabi


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

Reply via email to