[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2007-06-06 08:06 --- g_bit_nth_lsf g_bit_nth_msf g_bit_storage g_trash_stack_push g_trash_stack_pop g_trash_stack_peek g_t rash_stack_height g_string_append_c_inline strtod strtol strtoul strtoq strtouq strtoll strtoull atof atoi atol atoll

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2007-06-06 08:09 --- (In reply to comment #0) I'm getting the following segfault when I compile the beep-media-player application with the options -ffast-math -funroll-all-loops -g -O3: Sorry, I forgot one option that's also needed:

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread tbm at cyrius dot com
--- Comment #3 from tbm at cyrius dot com 2007-06-06 08:10 --- For the record, the command to see this is: /usr/lib/gcc-snapshot/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -DPNG_NO_MMX_CODE -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-06 09:01 --- Since this is obviously caused by GC (look at the backtrace and you have 0xa5a5a5a5), use --param ggc-min-expand=0 --param ggc-min-heapsize=0 as options to get a reduced testcase (it might take a little while

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-06-06 09:02 --- {GC 21223k - 16452k} Program received signal SIGSEGV, Segmentation fault. verify_ssa_name (ssa_name=0xa5a5a5a5a5a5a5a5, is_virtual=0 '\0') at gcc/tree-ssa.c:109 109 if (TREE_CODE (ssa_name) != SSA_NAME)

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread tbm at cyrius dot com
--- Comment #6 from tbm at cyrius dot com 2007-06-06 09:51 --- (In reply to comment #4) Since this is obviously caused by GC (look at the backtrace and you have 0xa5a5a5a5), use --param ggc-min-expand=0 --param ggc-min-heapsize=0 as options to get a reduced testcase (it might

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread tbm at cyrius dot com
--- Comment #7 from tbm at cyrius dot com 2007-06-06 09:54 --- I wonder if this is the same or related to PR29975, see comment 100: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29975#c100 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32231

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread tbm at cyrius dot com
--- Comment #9 from tbm at cyrius dot com 2007-06-06 10:12 --- Reducing, but this will take a while... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32231

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread tbm at cyrius dot com
--- Comment #8 from tbm at cyrius dot com 2007-06-06 10:12 --- Created an attachment (id=13660) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13660action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32231

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread tbm at cyrius dot com
--- Comment #10 from tbm at cyrius dot com 2007-06-06 17:58 --- (sid)25696:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/gcc -ffast-math -O1 -ftree-vectorize --param ggc-min-expand=0 --param ggc-min-heapsize=0 beep-visualization.c beep-visualization.c: In function 'calc_freq':

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2007-06-07 01:45 --- (gdb) p debug_generic_expr (stmt) D.1980_10 = 0.0 (gdb) p *stmt_ann (stmt)-operands.use_ops.use_ptr.use $14 = 0xa5a5a5a5 So somebody forgot to update the use cache. -- pinskia at gcc dot gnu dot org changed:

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2007-06-07 01:49 --- I have a fix, there is a missing update_stmt :) at the very end of vectorizable_call after it does: /* The call in STMT might prevent it from being removed in dce. We however cannot remove it here, due to

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2007-06-07 02:12 --- Subject: Bug 32231 Author: pinskia Date: Thu Jun 7 02:12:31 2007 New Revision: 125521 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125521 Log: 2007-06-06 Andrew Pinski [EMAIL PROTECTED] PR

[Bug tree-optimization/32231] [4.3 Regression] Segfault in verify_ssa_name

2007-06-06 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2007-06-07 02:14 --- Fixed, thanks for the report. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added