This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
INSN_MAX
- To: cgen at sources dot redhat dot com
- Subject: INSN_MAX
- From: Ben Elliston <bje at redhat dot com>
- Date: Tue, 20 Mar 2001 17:03:46 +1100 (EST)
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