1 line change to silence warnings
Doug Evans
dje@transmeta.com
Thu Aug 7 16:09:00 GMT 2003
Michael Meissner writes:
> This change fully initalizes the last record of each CGEN_OPINST array,
> silencing many warnings. Ok to apply?
>
> 2003-08-06 Michael Meissner <gnu@the-meissners.org>
>
> * opc-opinst.scm (-gen-operand-instance-table): Initialize all of
> the elements for the END record of CGEN_OPINST, silencing
> warnings.
>
> *** cgen/opc-opinst.scm.~1.3.~ 2003-05-15 03:25:02.000000000 -0400
> --- cgen/opc-opinst.scm 2003-08-06 16:38:08.000000000 -0400
> ***************
> *** 54,60 ****
> ins)
> (string-map (lambda (op) (-gen-operand-instance op "OUTPUT"))
> outs)
> ! " { END }\n};\n\n")))
> )
>
> (define (-gen-operand-instance-tables)
> --- 54,60 ----
> ins)
> (string-map (lambda (op) (-gen-operand-instance op "OUTPUT"))
> outs)
> ! " { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 }\n};\n\n")))
> )
>
> (define (-gen-operand-instance-tables)
Blech, ain't life grand.
Changes to cgen/* files go to this list not binutils.
This is approved and will go in shortly.
More information about the Cgen
mailing list