------- Comment #3 from gcc-tgc at jupiterrise dot com  2010-04-25 09:34 -------
$ gdb --args /export/home/tgc/build/gcc450_all_native/./gcc/cc1 -fpreprocessed
divtf3.i -quiet -dumpbase divtf3.c -mtune=generic -march=pentium4
-auxbase-strip divtf3.o -g -g -g -O2 -O2 -O2 -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wold-style-definition -Wno-missing-prototypes
-Wno-type-limits -version -fPIC -fexceptions -o divtf3.s
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.8"...
(gdb) break fancy_abort
Breakpoint 1 at 0x84c5bc4: file
/export/home/tgc/source/gcc-4.5.0/gcc/diagnostic.c, line 763.
(gdb) run
Starting program: /export/home/tgc/build/gcc450_all_native/gcc/cc1
-fpreprocessed divtf3.i -quiet -dumpbase divtf3.c -mtune=generic
-march=pentium4 -auxbase-strip divtf3.o -g -g -g -O2 -O2 -O2 -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wold-style-definition
-Wno-missing-prototypes -Wno-type-limits -version -fPIC -fexceptions -o
divtf3.s
warning: Temporarily disabling breakpoints for unloaded shared library
"/usr/lib/ld.so.1"
GNU C (GCC) version 4.5.0 (i386-pc-solaris2.8)
        compiled by GNU C version 4.3.4, GMP version 5.0.1, MPFR version 2.4.2,
MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.5.0 (i386-pc-solaris2.8)
        compiled by GNU C version 4.3.4, GMP version 5.0.1, MPFR version 2.4.2,
MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 69cf92c491c71b15695da53015b23e3b
/export/home/tgc/source/gcc-4.5.0/libgcc/../gcc/config/soft-fp/divtf3.c: In
function '__divtf3':
/export/home/tgc/source/gcc-4.5.0/libgcc/../gcc/config/soft-fp/divtf3.c:38:169:
warning: 'R_e' may be used uninitialized in this function

Program received signal SIGSEGV, Segmentation fault.
0x084bd3c5 in df_ref_compare (r1=0xa3278a4, r2=0xa3278ac) at
/export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:2357
2357      if (DF_REF_CLASS (ref1) != DF_REF_CLASS (ref2))
(gdb) bt
#0  0x084bd3c5 in df_ref_compare (r1=0xa3278a4, r2=0xa3278ac) at
/export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:2357
#1  0xdf89b889 in qsort () from /usr/lib/libc.so.1
#2  0x084bd8e2 in df_sort_and_compress_refs (ref_vec=0x8047678) at
/export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:2449
#3  0x084be0cb in df_canonize_collection_rec (collection_rec=0x8047674) at
/export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:2581
#4  0x084bfd2b in df_insn_refs_collect (collection_rec=0x8047674,
bb=0xdf5f7e40, insn_info=0xa2b93ec) at
/export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:3589
#5  0x084c035a in df_bb_refs_record (bb_index=89, scan_insns=1 '\001') at
/export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:3728
#6  0x084b9dce in df_scan_blocks () at
/export/home/tgc/source/gcc-4.5.0/gcc/df-scan.c:702
#7  0x08497012 in rest_of_handle_df_initialize () at
/export/home/tgc/source/gcc-4.5.0/gcc/df-core.c:739
#8  0x0898b161 in execute_one_pass (pass=0xa137580) at
/export/home/tgc/source/gcc-4.5.0/gcc/passes.c:1568
#9  0x0898b340 in execute_pass_list (pass=0xa137580) at
/export/home/tgc/source/gcc-4.5.0/gcc/passes.c:1623
#10 0x0898b360 in execute_pass_list (pass=0xa1c40c0) at
/export/home/tgc/source/gcc-4.5.0/gcc/passes.c:1624
#11 0x08e5878c in tree_rest_of_compilation (fndecl=0xdf7bb880) at
/export/home/tgc/source/gcc-4.5.0/gcc/tree-optimize.c:413
#12 0x0965ac8e in cgraph_expand_function (node=0xdf7cc170) at
/export/home/tgc/source/gcc-4.5.0/gcc/cgraphunit.c:1548
#13 0x0965aeec in cgraph_expand_all_functions () at
/export/home/tgc/source/gcc-4.5.0/gcc/cgraphunit.c:1627
#14 0x0965b4da in cgraph_optimize () at
/export/home/tgc/source/gcc-4.5.0/gcc/cgraphunit.c:1875
#15 0x09659584 in cgraph_finalize_compilation_unit () at
/export/home/tgc/source/gcc-4.5.0/gcc/cgraphunit.c:1096
#16 0x0811c18b in c_write_global_declarations () at
/export/home/tgc/source/gcc-4.5.0/gcc/c-decl.c:9519
#17 0x08c28bb5 in compile_file () at
/export/home/tgc/source/gcc-4.5.0/gcc/toplev.c:1065
#18 0x08c2abea in do_compile () at
/export/home/tgc/source/gcc-4.5.0/gcc/toplev.c:2417
#19 0x08c2acb7 in toplev_main (argc=29, argv=0x8047948) at
/export/home/tgc/source/gcc-4.5.0/gcc/toplev.c:2459
#20 0x0829301f in main (argc=Cannot access memory at address 0x2
) at /export/home/tgc/source/gcc-4.5.0/gcc/main.c:35
(gdb) 


-- 


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

Reply via email to