Re: RFA: Allow widening multiplication in tree-ssa/slsr-8.c

2013-01-14 Thread Richard Biener
On Sun, Jan 13, 2013 at 9:50 AM, Richard Sandiford wrote: > gcc.dg/tree-ssa/slsr-8.c does "(int) index * (size_t) element_size", > which on LP64 targets can use a widening multiplication. Of course, > for simple element sizes like these, we end up using a shift instead, > but that's a decision th

RFA: Allow widening multiplication in tree-ssa/slsr-8.c

2013-01-13 Thread Richard Sandiford
gcc.dg/tree-ssa/slsr-8.c does "(int) index * (size_t) element_size", which on LP64 targets can use a widening multiplication. Of course, for simple element sizes like these, we end up using a shift instead, but that's a decision that's rightly made later. Tested on x86_64-linux-gnu, mips64-linux-