This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50635] ICE on valid: segfault in vectorize_loops
- From: "irar at il dot ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 06 Oct 2011 19:14:58 +0000
- Subject: [Bug tree-optimization/50635] ICE on valid: segfault in vectorize_loops
- Auto-submitted: auto-generated
- References: <bug-50635-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50635
Ira Rosen <irar at il dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011-10-06
CC| |irar at il dot ibm.com
Component|target |tree-optimization
AssignedTo|unassigned at gcc dot |irar at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #3 from Ira Rosen <irar at il dot ibm.com> 2011-10-06 19:14:58 UTC ---
I'll test this fix next week.
Index: tree-vect-patterns.c
===================================================================
--- tree-vect-patterns.c (revision 179447)
+++ tree-vect-patterns.c (working copy)
@@ -385,6 +385,7 @@ vect_handle_widen_mult_by_const (gimple stmt, tree
|| TREE_TYPE (gimple_assign_lhs (new_stmt)) != new_type)
return false;
+ VEC_safe_push (gimple, heap, *stmts, def_stmt);
*oprnd = gimple_assign_lhs (new_stmt);
}
else