> I didn't manage to reproduce the breakage, but I think this patch will fix > it.
You need a 32-bit host. > The patch makes sure cst_and_fits_in_hwi is tested before using > int_cst_value. This should be sufficient indeed, thanks. > 2011-05-22 Tom de Vries <t...@codesourcery.com> > > PR target/45098 > * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Fixed const test > for call to get_shiftadd_cost. Present tense in the ChangeLog. -- Eric Botcazou