This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO]: Use 'enum LTO_tags' where appropriate
I've committed this.
Jim Blandy <jimb@codesourcery.com> writes:
> 2007-08-15 Jim Blandy <jimb@codesourcery.com>
>
> Use enum LTO_tags where appropriate, instead of 'unsigned int'.
> * lto-read.c (input_record_start): Fix return type, type of 'tag'.
> (input_list): Fix type of 'tag'.
> (input_expr_operand): Fix type of 'tag' argument. Update
> declaration. Fix type of 'ctag'. Add default case to switch,
> since the type of the switched value is now an enum.
> (input_local_vars): Fix type of 'tag'.
> (input_bb): Fix type of 'tag' argument.
> (input_function): Fix type of 'tag' argument.