From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Healy To: cgen@sources.redhat.com, binutils@sources.redhat.com Subject: Patch: CGEN_MAX_SYNTAX_ELEMENTS Date: Mon, 14 May 2001 11:06:00 -0000 Message-id: <3B001E91.86C93FBA@redhat.com> X-SW-Source: 2001-q2/msg00051.html 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