[RFC][PATCH] RL78 - clean-up of missing operand mode warnings.
Richard Hulme
peper03@yahoo.com
Thu Apr 17 20:11:00 GMT 2014
On 15/04/14 22:58, DJ Delorie wrote:
> I typically leave the mode off when the operand accepts a CONST_INT as
> I've had problems with patterns matching CONST_INTs otherwise, as
> CONST_INT rtx's do not have a mode (or have VOIDmode).
>
> (yes, I know gcc is supposed to accomodate that, but like I said, I've
> had problems...)
Ok, that's fine. I was just trying to mop up one little bit of the sea
of warnings.
It seems a little inconsistent, however, that *movqi_real and
*xorqi3_real don't specify modes but *movhi_real and
*andqi_real/*iorqi_real do (and they also accept CONST_INTs). Not that
I'm advocating generating more warnings, but my inner OCD likes
consistency :)
Richard.
More information about the Gcc-patches
mailing list