This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: Patch for case of max operands > 127
- To: Ben Elliston <bje at redhat dot com>
- Subject: Re: Patch for case of max operands > 127
- From: Patrick Macdonald <patrickm at redhat dot com>
- Date: Sat, 06 Jan 2001 12:18:39 -0500
- CC: "J. Johnston" <jjohnstn at cygnus dot com>, binutils at sources dot redhat dot com, cgen at sources dot redhat dot com
- Organization: Red Hat Canada Limited
- References: <Pine.LNX.4.31.0101061226520.21889-100000@moshpit.cygnus.com>
Ben Elliston wrote:
>
> This patch makes a check for MAX_OPERANDS and sets the type of the
> syntax string to be either unsigned char (normal case) or unsigned
> short when appropriate. The patch also makes minor modifications to
> code that accesses the syntax string to ensure it does not make
> assumptions about the type. Included are ChangeLog entries.
>
> This looks okay to me, if you've tested it on your port where MAX_OPERANDS
> exceeds 127.
>
> Ben
Tested on a port where MAX_OPERANDS == 140.
Smooth sailing and thanks Jeff.
Patrick