Re: [rfc][10/37] Eliminate builtin_type_ macros: Use expression arch for argument promotion

Joel Brobecker
2008-09-05T22:39:15Z

> This patch adds a number of _promote calls to ada-lang.c; while these
> should simply preserve the status quo, someone familiar with the Ada
> type promotion rules should probably have a look at those, maybe this
> code can now be simplified a bit ...

There are a few cases where I am also wondering whether a simplification
might be possible or not (case UNOP_IN_RANGE, BINOP_IN_BOUNDS,
TERNOP_IN_RANGE for instance), but I am not sure. I cannot test
this patch and I won't be able to for at least a few more days
or a week, so I'd say let's preserve the current status quo.

--
Joel