This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Patch: CGEN_MAX_SYNTAX_ELEMENTS
- To: cgen at sources dot redhat dot com, binutils at sources dot redhat dot com
- Subject: Patch: CGEN_MAX_SYNTAX_ELEMENTS
- From: John Healy <jhealy at redhat dot com>
- Date: Mon, 14 May 2001 14:06:09 -0400
Hi,
A port I'm working on requires the following little patch. Frank has
looked at it and approved, but I just wanted to put it out here before
commiting it to sourceware in case anyone has any comments or concerns.
Thanks,
John
-------------------------------------------------------------------
Index: include/opcode/cgen.h
===================================================================
RCS file: /cvs/src/src/include/opcode/cgen.h,v
retrieving revision 1.10
diff -c -4 -p -r1.10 cgen.h
*** cgen.h 2001/03/14 02:27:44 1.10
--- cgen.h 2001/05/11 16:22:54
*************** typedef struct
*** 735,743 ****
into the operand table. The operand table doesn't exist in C, per
se, as
the data is recorded in the parse/insert/extract/print switch
statements. */
/* This should be at least as large as necessary for any target. */
! #define CGEN_MAX_SYNTAX_ELEMENTS 40
/* A target may know its own precise maximum. Assert that it falls
below
the above limit. */
#ifdef CGEN_ACTUAL_MAX_SYNTAX_ELEMENTS
--- 735,743 ----
into the operand table. The operand table doesn't exist in C, per
se, as
the data is recorded in the parse/insert/extract/print switch
statements. */
/* This should be at least as large as necessary for any target. */
! #define CGEN_MAX_SYNTAX_ELEMENTS 48
/* A target may know its own precise maximum. Assert that it falls
below
the above limit. */
#ifdef CGEN_ACTUAL_MAX_SYNTAX_ELEMENTS