public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/32366] New: [4.3 Regression] Segfault in significand_size with -ftree-optimize @ 2007-06-16 12:58 tbm at cyrius dot com 2007-06-16 12:59 ` [Bug tree-optimization/32366] " tbm at cyrius dot com ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: tbm at cyrius dot com @ 2007-06-16 12:58 UTC (permalink / raw) To: gcc-bugs I'm getting the following segfault with current trunk. This compiled fine with trunk from 20070515 but produces the segfault with 20070604. (sid)26454:tbm@em64t: ~] /usr/lib/gcc-snapshot/bin/gcc -O -ftree-vectorize -c libsamplerate-termination_test.c libsamplerate-termination_test.c: In function 'stream_test': libsamplerate-termination_test.c:7: internal compiler error: Segmentation fault Please submit a full bug report, Testcase: stream_test (void) { static float input[20]; int k; for (k = 0; k < 20; k++) input[k] = k * 1.0; } -- Summary: [4.3 Regression] Segfault in significand_size with - ftree-optimize Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at cyrius dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32366 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/32366] [4.3 Regression] Segfault in significand_size with -ftree-optimize 2007-06-16 12:58 [Bug tree-optimization/32366] New: [4.3 Regression] Segfault in significand_size with -ftree-optimize tbm at cyrius dot com @ 2007-06-16 12:59 ` tbm at cyrius dot com 2007-06-16 13:01 ` tbm at cyrius dot com ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: tbm at cyrius dot com @ 2007-06-16 12:59 UTC (permalink / raw) To: gcc-bugs ------- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/32366] [4.3 Regression] Segfault in significand_size with -ftree-optimize 2007-06-16 12:58 [Bug tree-optimization/32366] New: [4.3 Regression] Segfault in significand_size with -ftree-optimize tbm at cyrius dot com 2007-06-16 12:59 ` [Bug tree-optimization/32366] " tbm at cyrius dot com @ 2007-06-16 13:01 ` tbm at cyrius dot com 2007-06-16 17:22 ` [Bug rtl-optimization/32366] [4.3 Regression] Segfault in significand_size with -ftree-vectorize pinskia at gcc dot gnu dot org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: tbm at cyrius dot com @ 2007-06-16 13:01 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from tbm at cyrius dot com 2007-06-16 13:00 ------- This segfault shows up on x86_64-linux-gnu, but not on ia64-linux-gnu -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32366 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug rtl-optimization/32366] [4.3 Regression] Segfault in significand_size with -ftree-vectorize 2007-06-16 12:58 [Bug tree-optimization/32366] New: [4.3 Regression] Segfault in significand_size with -ftree-optimize tbm at cyrius dot com 2007-06-16 12:59 ` [Bug tree-optimization/32366] " tbm at cyrius dot com 2007-06-16 13:01 ` tbm at cyrius dot com @ 2007-06-16 17:22 ` pinskia at gcc dot gnu dot org 2007-06-17 11:34 ` ubizjak at gmail dot com ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2007-06-16 17:22 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from pinskia at gcc dot gnu dot org 2007-06-16 17:21 ------- combine.c is RTL :). -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org Component|tree-optimization |rtl-optimization GCC target triplet| |x86_64-linux-gnu Summary|[4.3 Regression] Segfault in|[4.3 Regression] Segfault in |significand_size with - |significand_size with - |ftree-optimize |ftree-vectorize Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32366 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug rtl-optimization/32366] [4.3 Regression] Segfault in significand_size with -ftree-vectorize 2007-06-16 12:58 [Bug tree-optimization/32366] New: [4.3 Regression] Segfault in significand_size with -ftree-optimize tbm at cyrius dot com ` (2 preceding siblings ...) 2007-06-16 17:22 ` [Bug rtl-optimization/32366] [4.3 Regression] Segfault in significand_size with -ftree-vectorize pinskia at gcc dot gnu dot org @ 2007-06-17 11:34 ` ubizjak at gmail dot com 2007-06-17 19:23 ` uros at gcc dot gnu dot org 2007-06-18 11:28 ` rguenth at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: ubizjak at gmail dot com @ 2007-06-17 11:34 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from ubizjak at gmail dot com 2007-06-17 11:34 ------- Patch at http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01171.html -- ubizjak at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |ubizjak at gmail dot com |dot org | URL| |http://gcc.gnu.org/ml/gcc- | |patches/2007- | |06/msg01171.html Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Keywords| |patch Last reconfirmed|0000-00-00 00:00:00 |2007-06-17 11:34:14 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32366 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug rtl-optimization/32366] [4.3 Regression] Segfault in significand_size with -ftree-vectorize 2007-06-16 12:58 [Bug tree-optimization/32366] New: [4.3 Regression] Segfault in significand_size with -ftree-optimize tbm at cyrius dot com ` (3 preceding siblings ...) 2007-06-17 11:34 ` ubizjak at gmail dot com @ 2007-06-17 19:23 ` uros at gcc dot gnu dot org 2007-06-18 11:28 ` rguenth at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: uros at gcc dot gnu dot org @ 2007-06-17 19:23 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from uros at gcc dot gnu dot org 2007-06-17 19:23 ------- Subject: Bug 32366 Author: uros Date: Sun Jun 17 19:23:30 2007 New Revision: 125777 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125777 Log: PR rtl-optimization/32366 * simplify-rtx.c (simplify_unary_operation_1) [FLOAT_TRUNCATE, FLOAT_EXTEND]: Prevent non-scalar modes from entering significand_size. testsuite/ChangeLog: PR rtl-optimization/32366 * testsuite/gcc.dg/vect/pr32366.c: New test. Added: trunk/gcc/testsuite/gcc.dg/vect/pr32366.c Modified: trunk/gcc/ChangeLog trunk/gcc/simplify-rtx.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32366 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug rtl-optimization/32366] [4.3 Regression] Segfault in significand_size with -ftree-vectorize 2007-06-16 12:58 [Bug tree-optimization/32366] New: [4.3 Regression] Segfault in significand_size with -ftree-optimize tbm at cyrius dot com ` (4 preceding siblings ...) 2007-06-17 19:23 ` uros at gcc dot gnu dot org @ 2007-06-18 11:28 ` rguenth at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu dot org @ 2007-06-18 11:28 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from rguenth at gcc dot gnu dot org 2007-06-18 11:28 ------- Fixed. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32366 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-06-18 11:28 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-06-16 12:58 [Bug tree-optimization/32366] New: [4.3 Regression] Segfault in significand_size with -ftree-optimize tbm at cyrius dot com 2007-06-16 12:59 ` [Bug tree-optimization/32366] " tbm at cyrius dot com 2007-06-16 13:01 ` tbm at cyrius dot com 2007-06-16 17:22 ` [Bug rtl-optimization/32366] [4.3 Regression] Segfault in significand_size with -ftree-vectorize pinskia at gcc dot gnu dot org 2007-06-17 11:34 ` ubizjak at gmail dot com 2007-06-17 19:23 ` uros at gcc dot gnu dot org 2007-06-18 11:28 ` rguenth at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).