------- Comment #2 from ubizjak at gmail dot com  2008-01-17 10:09 -------
(gdb) set args -O -funsafe-math-optimizations pr34825.c
(gdb) break fancy_abort
Breakpoint 1 at 0x81697e0: file ../../gcc-svn/trunk/gcc/diagnostic.c, line 659.
(gdb) run
Starting program: /home/uros/gcc-build/gcc/cc1 -O -funsafe-math-optimizations
pr34825.c
 foo
Analyzing compilation unit
Performing interprocedural optimizations
 <visibility> <early_local_cleanups> <inline> <static-var>
<pure-const>Assembling functions:
 foo
Program received signal SIGSEGV, Segmentation fault.
execute_cse_reciprocals_1 (def_bsi=0x0, def=0xb7cf4ed4)
    at ../../gcc-svn/trunk/gcc/tree-flow-inline.h:1534
1534          imm->next_imm_name = imm->imm_use->next;
(gdb) bt
#0  execute_cse_reciprocals_1 (def_bsi=0x0, def=0xb7cf4ed4)
    at ../../gcc-svn/trunk/gcc/tree-flow-inline.h:1534
#1  0x0845bf0a in execute_cse_reciprocals () at
../../gcc-svn/trunk/gcc/tree-ssa-math-opts.c:473
#2  0x082c50aa in execute_one_pass (pass=0x8903440) at
../../gcc-svn/trunk/gcc/passes.c:1118
#3  0x082c529f in execute_pass_list (pass=0x8903440) at
../../gcc-svn/trunk/gcc/passes.c:1171
#4  0x082c52b2 in execute_pass_list (pass=0x8902840) at
../../gcc-svn/trunk/gcc/passes.c:1172
#5  0x083b173b in tree_rest_of_compilation (fndecl=0xb7cef9a0)
    at ../../gcc-svn/trunk/gcc/tree-optimize.c:404
#6  0x085790a5 in cgraph_expand_function (node=0xb7c8c280)
    at ../../gcc-svn/trunk/gcc/cgraphunit.c:1152
#7  0x0857bda7 in cgraph_optimize () at
../../gcc-svn/trunk/gcc/cgraphunit.c:1215
#8  0x0805ecd6 in c_write_global_declarations () at
../../gcc-svn/trunk/gcc/c-decl.c:8077
#9  0x0834ba83 in toplev_main (argc=4, argv=0xbfb9b594) at
../../gcc-svn/trunk/gcc/toplev.c:1055
#10 0x080e1aef in main (argc=0, argv=0x19) at ../../gcc-svn/trunk/gcc/main.c:35


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini at gnu dot org
  GCC build triplet|x86_64-linux-gnu            |x86-linux-gnu
   GCC host triplet|x86_64-linux-gnu            |x86-linux-gnu
 GCC target triplet|x86_64-linux-gnu            |x86-linux-gnu
   Last reconfirmed|2008-01-17 09:32:48         |2008-01-17 10:09:08
               date|                            |


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

Reply via email to