Re: [PATCH] Fix up WIDEN_MULT_EXPR (PR middle-end/57251)

2013-05-13 Thread Richard Henderson
On 05/13/2013 09:39 AM, Jakub Jelinek wrote: > 2013-05-13 Jakub Jelinek > > PR middle-end/57251 > * expr.c (expand_expr_real_2) : Handle > the case when both op0 and op1 have VOIDmode. > > * gcc.dg/torture/pr57251.c: New test. Ok. r~

[PATCH] Fix up WIDEN_MULT_EXPR (PR middle-end/57251)

2013-05-13 Thread Jakub Jelinek
Hi! On the following testcase, the widen multiplies etc. is introduced so late that no forwprop or ccp follows it. The WIDEN_MULT_EXPR tries hard not to use widening multiply if both arguments are INTEGER_CSTs, but if they are e.g. SSA_NAMEs that expand_normal into CONST_INT, we can still ICE. T