[Bug tree-optimization/50635] ICE on valid: segfault in vectorize_loops
irar at il dot ibm.com
gcc-bugzilla@gcc.gnu.org
Thu Oct 6 19:15:00 GMT 2011
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
More information about the Gcc-bugs
mailing list