[Bug tree-optimization/51058] [4.7 Regression] ICE: gimple check: expected gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs_code, at gimple.h:1992
irar at il dot ibm.com
gcc-bugzilla@gcc.gnu.org
Fri Nov 11 08:30:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51058
--- Comment #10 from Ira Rosen <irar at il dot ibm.com> 2011-11-11 06:03:14 UTC ---
(In reply to comment #9)
>
> patch fixes the ICE, but then the scalar stmt stays in the tree at the end of
> *.vect pass (and at least in this case is DCEd afterwards).
I wonder if we still really need this rhs change.
> If we wanted to do this replacement, I guess we could do that from
> vect_schedule_slp after all vect_schedule_slp_instance calls have returned,
Right, but only for pure SLP stmts.
> but we'd need to again recursively go through the instance tree.
Through all the instances.
We could also collect the calls during the analysis.
More information about the Gcc-bugs
mailing list