This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [dataflow-branch PATCH] Use more efficient HOST_*_WIDEST_FAST_INT macros in global.c.
On Thursday 26 January 2006 08:47 am, Kenneth Zadeck wrote:
> I have fixed this in a version of dce that I have been testing. I hope
> to get it up today.
> in the short term add this patch.
> Index: dce.c
[snip]
My powerpc64-linux build is still running with that patch. However, my
powerpc-linux --enable_targets=powerpc64-linux biarch build failed compiling
the same file but with the following backtrace.
Peter.
Program received signal SIGSEGV, Segmentation fault.
find_reg_note (insn=0x0, kind=REG_LIBCALL, datum=0x0) at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/rtlanal.c:1725
1725 if (! INSN_P (insn))
(gdb) where
#0 find_reg_note (insn=0x0, kind=REG_LIBCALL, datum=0x0)
at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/rtlanal.c:1725
#1 0x10121eac in mark_insn (insn=0x0) at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/dce.c:175
#2 0x101220ec in mark_reg_dependencies (insn=0x4023ffc0) at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/dce.c:265
#3 0x10122bb4 in rest_of_handle_dce () at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/dce.c:308
#4 0x103029b8 in execute_one_pass (pass=0x106370b8) at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/passes.c:890
#5 0x10302ae8 in execute_pass_list (pass=0x106370b8) at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/passes.c:922
#6 0x10302b00 in execute_pass_list (pass=0x105aa778) at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/passes.c:923
#7 0x1006d4d0 in tree_rest_of_compilation (fndecl=0x40232d00)
at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/tree-optimize.c:412
#8 0x1000c18c in c_expand_body (fndecl=0x40232d00) at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/c-decl.c:6640
#9 0x1034f678 in cgraph_expand_function (node=0x40217800)
at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/cgraphunit.c:1085
#10 0x103501fc in cgraph_optimize () at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/cgraphunit.c:1151
#11 0x100127c4 in c_write_global_declarations () at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/c-decl.c:7746
#12 0x102dd06c in toplev_main (argc=<value optimized out>, argv=<value optimized out>)
at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/toplev.c:1003
#13 0x1005bc10 in main (argc=<value optimized out>, argv=<value optimized out>)
at /home/bergner/gcc/gcc-20060123-dataflow.orig/gcc/main.c:35