This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [committed] Some reload tweaks


Andreas Krebbel <krebbel1@de.ibm.com> writes:
> What is the reason you declared "this_alternative" as int?

I didn't. ;)  The variable's been around for ages.

> !                 && (enum reg_class) this_alternative[i] != NO_REGS

>From context, it looks like the convention is to cast the
other side to (int).  The other cast looks OK to me, FWIW.

Sorry for the breakage.  For some reason, I'd just assumed that
the casts were left-overs from K&R days.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]