http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48690
--- Comment #5 from diggskevin38 at gmail dot com 2011-04-19 19:24:08 UTC --- kevdig@Satellite2775XDVD:~/projects/GCC/OBJ/gcc-4.3.5-m68k/m68k-netbsdelf1.6.1/libgcc$ gdb --args ../..//gcc/cc1 ../../../../fixunsxfdi.c -m68020 -auxbase-strip _fixunsxfdi.o -g -O1 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version -fomit-frame-pointer -fvisibility=hidden -o libgcc2.s GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... (gdb) run Starting program: /home/kevdig/projects/GCC/OBJ/gcc-4.3.5-m68k/gcc/cc1 ../../../../fixunsxfdi.c -m68020 -auxbase-strip _fixunsxfdi.o -g -O1 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version -fomit-frame-pointer -fvisibility=hidden -o libgcc2.s GNU C (GCC) version 4.3.5 (m68k-netbsdelf1.6.1) compiled by GNU C version 4.3.2, GMP version 4.3.2, MPFR version 2.4.2. warning: GMP header version 4.3.2 differs from library version 4.2.2. warning: MPFR header version 2.4.2 differs from library version 2.3.1. GGC heuristics: --param ggc-min-expand=42 --param ggc-min-heapsize=23783 options passed: ../../../../fixunsxfdi.c -m68020 -auxbase-strip _fixunsxfdi.o -g -O1 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fomit-frame-pointer -fvisibility=hidden options enabled: -falign-loops -fargument-alias -fauto-inc-dec -fbranch-count-reg -fcommon -fcprop-registers -fdefer-pop -fearly-inlining -feliminate-unused-debug-types -ffunction-cse -fgcse-lm -fguess-branch-probability -fident -fif-conversion -fif-conversion2 -finline-functions-called-once -fipa-pure-const -fipa-reference -fivopts -fkeep-static-consts -fleading-underscore -fmath-errno -fmerge-constants -fmerge-debug-strings -fmove-loop-invariants -fomit-frame-pointer -fpcc-struct-return -fpeephole -fsched-interblock -fsched-spec -fsched-stalled-insns-dep -fsigned-zeros -fsplit-ivs-in-unroller -fsplit-wide-types -ftoplevel-reorder -ftrapping-math -ftree-ccp -ftree-ch -ftree-copy-prop -ftree-copyrename -ftree-cselim -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-fre -ftree-loop-im -ftree-loop-ivcanon -ftree-loop-optimize -ftree-parallelize-loops= -ftree-reassoc -ftree-salias -ftree-scev-cprop -ftree-sink -ftree-sra -ftree-ter -ftree-vect-loop-version -funit-at-a-time -fvar-tracking -fzero-initialized-in-bss -mbitfield -mstrict-align Compiler executable checksum: b730eeddd3600159c403844a0d20566f fixunsxfDI ../../../../fixunsxfdi.c:9: warning: no previous prototype for ‘fixunsxfDI’ Analyzing compilation unit Performing interprocedural optimizations <visibility> <early_local_cleanups> <inline> <static-var> <pure-const>Assembling functions: fixunsxfDI Program received signal SIGSEGV, Segmentation fault. assign_temp (type_or_decl=0x0, keep=0, memory_required=1, dont_promote=1) at ../../../SRC/gcc-4.3.5/gcc/function.c:807 807 if (DECL_P (type_or_decl)) (gdb) where #0 assign_temp (type_or_decl=0x0, keep=0, memory_required=1, dont_promote=1) at ../../../SRC/gcc-4.3.5/gcc/function.c:807 #1 0x08143d0c in emit_push_insn (x=0xb72e3ef0, mode=DImode, type=0x0, size=0xb72e1240, align=32, partial=0, reg=0x0, extra=0, args_addr=0x0, args_so_far=0xb72e1200, reg_parm_stack_space=0, alignment_pad=0xb72e1200) at ../../../SRC/gcc-4.3.5/gcc/expr.c:3731 #2 0x080c5906 in emit_library_call_value_1 (retval=1, orgfun=0xb735a090, value=0x0, fn_type=LCT_CONST, outmode=XFmode, nargs=1, p=0xbfaf0b64 "�>.�\a") at ../../../SRC/gcc-4.3.5/gcc/calls.c:3760 #3 0x080c610a in emit_library_call_value (orgfun=0xb735a090, value=0x0, fn_type=LCT_CONST, outmode=XFmode, nargs=1) at ../../../SRC/gcc-4.3.5/gcc/calls.c:4085 #4 0x081bf21a in expand_float (to=0xb735a080, from=0xb72e3ef0, unsignedp=1) at ../../../SRC/gcc-4.3.5/gcc/optabs.c:5266 #5 0x0813b58b in expand_expr_real_1 (exp=0xb734e260, target=0xb735a080, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../../SRC/gcc-4.3.5/gcc/expr.c:8737 #6 0x0813d40b in expand_expr_real (exp=0xb734e260, target=0x0, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../../SRC/gcc-4.3.5/gcc/expr.c:7115 #7 0x0813d7bc in expand_operands (exp0=0xb7356050, exp1=0xb734e260, target=0x0, op0=0xbfaf0e0c, op1=0xbfaf0e08, modifier=EXPAND_NORMAL) at ../../../SRC/gcc-4.3.5/gcc/expr.h:514 ---Type <return> to continue, or q <return> to quit--- #8 0x0813d168 in expand_expr_real_1 (exp=0xb734a144, target=0xb72e3e80, tmode=XFmode, modifier=EXPAND_NORMAL, alt_rtl=0xbfaf0ebc) at ../../../SRC/gcc-4.3.5/gcc/expr.c:9403 #9 0x0813d40b in expand_expr_real (exp=0xb734a144, target=0xb72e3e80, tmode=XFmode, modifier=EXPAND_NORMAL, alt_rtl=0xbfaf0ebc) at ../../../SRC/gcc-4.3.5/gcc/expr.c:7115 #10 0x08143615 in store_expr (exp=0xb734a144, target=0xb72e3e80, call_param_p=0, nontemporal=0 '\0') at ../../../SRC/gcc-4.3.5/gcc/expr.c:4584 #11 0x081454b6 in expand_assignment (to=0xb72e7738, from=0xb734a144, nontemporal=240 '�') at ../../../SRC/gcc-4.3.5/gcc/expr.c:4367 #12 0x0813c8b9 in expand_expr_real_1 (exp=0xb7355620, target=0x0, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../../SRC/gcc-4.3.5/gcc/expr.c:9158 #13 0x0813d3e0 in expand_expr_real (exp=0xb7355620, target=0xb72e1200, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../../SRC/gcc-4.3.5/gcc/expr.c:7109 #14 0x0822527b in expand_expr_stmt (exp=0xb7355620) at ../../../SRC/gcc-4.3.5/gcc/expr.h:514 #15 0x08420bc9 in expand_gimple_basic_block (bb=0xb72d9690) at ../../../SRC/gcc-4.3.5/gcc/cfgexpand.c:1610 #16 0x08421269 in tree_expand_cfg () at ../../../SRC/gcc-4.3.5/gcc/cfgexpand.c:1921 ---Type <return> to continue, or q <return> to quit--- #17 0x081c5b6c in execute_one_pass (pass=0x8576520) at ../../../SRC/gcc-4.3.5/gcc/passes.c:1122 #18 0x081c5c80 in execute_pass_list (pass=0x8576520) at ../../../SRC/gcc-4.3.5/gcc/passes.c:1176 #19 0x08266ae8 in tree_rest_of_compilation (fndecl=0xb7348af0) at ../../../SRC/gcc-4.3.5/gcc/tree-optimize.c:404 #20 0x083549bd in cgraph_expand_function (node=0xb72e4280) at ../../../SRC/gcc-4.3.5/gcc/cgraphunit.c:1166 #21 0x083562cf in cgraph_optimize () at ../../../SRC/gcc-4.3.5/gcc/cgraphunit.c:1229 #22 0x08059424 in c_write_global_declarations () at ../../../SRC/gcc-4.3.5/gcc/c-decl.c:8099 #23 0x08230b45 in toplev_main (argc=18, argv=0xbfaf1344) at ../../../SRC/gcc-4.3.5/gcc/toplev.c:1055 #24 0x080a440f in main (argc=Cannot access memory at address 0x7 ) at ../../../SRC/gcc-4.3.5/gcc/main.c:35