This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32366] [4.3 Regression] Segfault in significand_size with -ftree-optimize
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jun 2007 12:59:19 -0000
- Subject: [Bug tree-optimization/32366] [4.3 Regression] Segfault in significand_size with -ftree-optimize
- References: <bug-32366-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from tbm at cyrius dot com 2007-06-16 12:59 -------
Program received signal SIGSEGV, Segmentation fault.
significand_size (mode=<value optimized out>) at gcc/real.c:2572
2572 if (fmt->b == 10)
(gdb) where
#0 significand_size (mode=<value optimized out>) at gcc/real.c:2572
#1 0x0000000000679e3f in simplify_unary_operation (code=FLOAT_TRUNCATE,
mode=V2SFmode, op=0x2af5ac927460, op_mode=<value optimized out>) at
gcc/simplify-rtx.c:701
#2 0x00000000009b2f13 in combine_simplify_rtx (x=0x2af5ac9274a0,
op0_mode=V2DFmode, in_dest=0) at gcc/combine.c:4603
#3 0x00000000009b5148 in subst (x=0x2af5ac9274a0, from=0x2af5ac92e320,
to=0x2af5ac927460, in_dest=0, unique_copy=0) at gcc/combine.c:4456
#4 0x00000000009b4e15 in subst (x=0x2af5ac92e4e0, from=0x2af5ac92e320,
to=0x2af5ac927460,
in_dest=0, unique_copy=0) at gcc/combine.c:4406
#5 0x00000000009b4e15 in subst (x=0x2af5ac92e500, from=0x2af5ac92e320,
to=0x2af5ac927460, in_dest=0, unique_copy=0) at gcc/combine.c:4406
#6 0x00000000009b7252 in try_combine (i3=0x2af5ac8d8500, i2=<value optimized
out>, i1=0x0, new_direct_jump_p=0x7ffffedab564) at gcc/combine.c:2676
#7 0x00000000009ba9ee in rest_of_handle_combine () at gcc/combine.c:1116
#8 0x000000000061bce7 in execute_one_pass (pass=0xe50bc0) at gcc/passes.c:1125
#9 0x000000000061beac in execute_pass_list (pass=0xe50bc0)
at gcc/passes.c:1178
#10 0x000000000061bebe in execute_pass_list (pass=0xe4c9a0)
at gcc/passes.c:1179
#11 0x00000000006ea49f in tree_rest_of_compilation (fndecl=0x2af5ac869a00)
at gcc/tree-optimize.c:406
#12 0x0000000000843280 in cgraph_expand_function (node=0x2af5ac884200)
at gcc/cgraphunit.c:1073
#13 0x0000000000844df5 in cgraph_optimize () at gcc/cgraphunit.c:1142
#14 0x0000000000413cfe in c_write_global_declarations () at gcc/c-decl.c:7911
#15 0x0000000000694b78 in toplev_main (argc=<value optimized out>, argv=<value
optimized out>) at gcc/toplev.c:1064
#16 0x00002af5ac0748e4 in __libc_start_main () from /lib/libc.so.6
#17 0x0000000000403fd9 in _start ()
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32366