[SH] Make prepare_move_operands return void

2012-04-06 Thread Oleg Endo
Hi, The 'prepare_move_operands' function currently always returns 0, which makes checking its return value (e.g. in sh.md) useless. The attached patch makes 'prepare_move_operands' return void and removes the return value checks. Tested with 'make all-gcc'. OK? Cheers, Oleg ChangeLog:

Re: [SH] Make prepare_move_operands return void

2012-04-06 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: The 'prepare_move_operands' function currently always returns 0, which makes checking its return value (e.g. in sh.md) useless. The attached patch makes 'prepare_move_operands' return void and removes the return value checks. Tested with 'make