[Bug tree-optimization/46723] [4.5 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431

2011-03-01 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723

Richard Guenther  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #15 from Richard Guenther  2011-03-01 
17:04:58 UTC ---
Fixed.


[Bug tree-optimization/46723] [4.5 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431

2011-03-01 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723

--- Comment #14 from Richard Guenther  2011-03-01 
17:04:32 UTC ---
Author: rguenth
Date: Tue Mar  1 17:04:26 2011
New Revision: 170595

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170595
Log:
2011-03-01  Richard Guenther  

Backport from mainline
2011-03-01  Richard Guenther  

PR tree-optimization/47890
* tree-vect-loop.c (get_initial_def_for_induction): Set
related stmt properly.

* gcc.dg/torture/pr47890.c: New testcase.

2010-12-01  Richard Guenther  

PR tree-optimization/46723
* tree-vect-loop.c (get_initial_def_for_induction): Strip
conversions from the induction evolution and apply it to
the result instead.
* tree-vect-stmts.c (vect_get_vec_def_for_operand): Handle
assigns for induction defs.

* gcc.dg/torture/pr46723.c: New testcase.

Added:
branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pr46723.c
branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pr47890.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
branches/gcc-4_5-branch/gcc/tree-vect-loop.c
branches/gcc-4_5-branch/gcc/tree-vect-stmts.c


[Bug tree-optimization/46723] [4.5 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431

2011-02-19 Thread doko at ubuntu dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723

Matthias Klose  changed:

   What|Removed |Added

 CC||doko at ubuntu dot com

--- Comment #13 from Matthias Klose  2011-02-19 
18:43:00 UTC ---
the patch fixes the ICE on the 4.5 branch, no regressions on a i686-linux-gnu
biarch build and test.


[Bug tree-optimization/46723] [4.5 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431

2010-12-16 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723

Richard Guenther  changed:

   What|Removed |Added

   Target Milestone|4.5.2   |4.5.3

--- Comment #12 from Richard Guenther  2010-12-16 
13:02:42 UTC ---
GCC 4.5.2 is being released, adjusting target milestone.


[Bug tree-optimization/46723] [4.5 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431

2010-12-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723

Richard Guenther  changed:

   What|Removed |Added

   Priority|P3  |P2
  Known to work||4.6.0
Summary|[4.5/4.6 Regression]|[4.5 Regression] internal
   |internal compiler error: in |compiler error: in
   |get_initial_def_for_inducti |get_initial_def_for_inducti
   |on, at  |on, at
   |tree-vect-loop.c:2431   |tree-vect-loop.c:2431
  Known to fail|4.6.0   |
   Severity|critical|normal

--- Comment #11 from Richard Guenther  2010-12-02 
16:27:26 UTC ---
Fixed on trunk sofar.


[Bug tree-optimization/46723] [4.5 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431

2010-12-01 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723

Richard Guenther  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|unassigned at gcc dot   |rguenth at gcc dot gnu.org
   |gnu.org |

--- Comment #5 from Richard Guenther  2010-12-01 
10:01:32 UTC ---
Mine then.


[Bug tree-optimization/46723] [4.5 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431

2010-11-30 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723

--- Comment #4 from H.J. Lu  2010-11-30 19:20:29 
UTC ---
It is caused by revision 161951:

http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00305.html


[Bug tree-optimization/46723] [4.5 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431

2010-11-30 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723

--- Comment #3 from H.J. Lu  2010-11-30 18:11:41 
UTC ---
Created attachment 22583
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22583
A reduced testcase

[...@gnu-35 delta]$ /usr/gcc-4.5/bin/gcc -S -O3 testcase-min.cc
testcase-min.cc: In function ‘void testVectors() [with V =
Vc::Simple::Vector]’:
testcase-min.cc:157:27: internal compiler error: in
get_initial_def_for_induction, at tree-vect-loop.c:2431
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
[...@gnu-35 delta]$