This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/52686] SLP crashes with WIDEN_LSHIFT_EXPR
- From: "uweigand at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Mar 2012 15:38:43 +0000
- Subject: [Bug tree-optimization/52686] SLP crashes with WIDEN_LSHIFT_EXPR
- Auto-submitted: auto-generated
- References: <bug-52686-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52686
Ulrich Weigand <uweigand at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2012-03-23
Ever Confirmed|0 |1
--- Comment #1 from Ulrich Weigand <uweigand at gcc dot gnu.org> 2012-03-23 15:38:43 UTC ---
It seems the root cause of all the memory problems is that
vect_get_smallest_scalar_type neglects to handle WIDEN_LSHIFT_EXPR, which
causes the SLP pass to mis-compute the number of statements needed to vectorize
the expression.