This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


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

INSN_MAX


The cgen_insn_type enumeration in @arch@-opc.h suffers from the fact
that the final enumerator is called @ARCH@_INSN_MAX.  This makes it
impossible to name an instruction `max'.

Any objections if the internal value is given the name
@ARCH@_INSN__MAX or similar?  Yes, the instruction could be given a
different name but we should avoid limiting the input language in this
way.

Ben


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