This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [SH] Make prepare_move_operands return void
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: oleg dot endo at t-online dot de
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 07 Apr 2012 06:46:11 +0900 (JST)
- Subject: Re: [SH] Make prepare_move_operands return void
- References: <1333725700.19154.69.camel@yam-132-YW-E178-FTW>
Oleg Endo <oleg.endo@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 all-gcc'.
> OK?
OK.
Regards,
kaz