[Bug tree-optimization/33835] [4.3 Regression] Segfault in vect_is_simple_use

2007-10-27 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-10-27 18:00 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug tree-optimization/33835] [4.3 Regression] Segfault in vect_is_simple_use

2007-10-22 Thread dorit at gcc dot gnu dot org
--- Comment #5 from dorit at gcc dot gnu dot org 2007-10-23 03:24 --- Subject: Bug 33835 Author: dorit Date: Tue Oct 23 03:24:06 2007 New Revision: 129571 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129571 Log: PR tree-optimization/33834 PR tree-optimization/3

[Bug tree-optimization/33835] [4.3 Regression] Segfault in vect_is_simple_use

2007-10-21 Thread dorit at gcc dot gnu dot org
--- Comment #4 from dorit at gcc dot gnu dot org 2007-10-22 04:37 --- I'm testing a patch that would fix both this PR and PR33834 (posted it under the PR33834 entry). By the way, this testcase does not get vectorized with current mainline (an Oct21 snapshot) because the call to cos is no

[Bug tree-optimization/33835] [4.3 Regression] Segfault in vect_is_simple_use

2007-10-21 Thread dorit at gcc dot gnu dot org
--- Comment #3 from dorit at gcc dot gnu dot org 2007-10-21 08:07 --- The proposed fix/work-around for PR33834 also happens to fix this PR. But the real problem is that we try to access a NULL argument (operand 2 of a CALL_EXPR may be NULL). So we should probably at least add something l

[Bug tree-optimization/33835] [4.3 Regression] Segfault in vect_is_simple_use

2007-10-20 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/33835] [4.3 Regression] Segfault in vect_is_simple_use

2007-10-20 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2007-10-20 19:51 --- /* Testcase by Martin Michlmayr <[EMAIL PROTECTED]> */ extern double cos (double x); class bend_class { double *s_A; public: void set_s_A (double s_A0) { s_A[0] = s_A0; } }; class bend_set { bend_class *bend_a

[Bug tree-optimization/33835] [4.3 Regression] Segfault in vect_is_simple_use

2007-10-20 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2007-10-20 19:51 --- Starting program: /home/tbm/tmp/gcc/gcc-4.3-20071020-r129504/gcc/cc1plus -O -ftree-vectorize ~/psicode-internals2.cc void bend_class::set_s_A(double) void bend_set::set_s_A(int, double) void bend_set::compute_s() void intern