Re: [rfc][19/37] Eliminate builtin_type_ macros: Ada range type handling

Joel Brobecker
2008-09-10T06:09:47Z

> So I guess your original proposal to use the range type itself is
> the simplest solution. Implemented by the patch below.

Agreed.

> ChangeLog:
>
> * ada-lang.c (ada_array_length): Use builtin_type_int32 instead
> of builtin_type_int.
> (ada_evaluate_subexp) [UNOP_IN_RANGE]: Use operand range type
> instead of builtin_type_int.

I think we can commit this independently of the rest, right?

--
Joel