This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc][10/37] Eliminate builtin_type_ macros: Use expression arch for argument promotion
- From: Joel Brobecker <brobecker at adacore dot com>
- To: uweigand at de dot ibm dot com
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 5 Sep 2008 15:38:18 -0700
- Subject: Re: [rfc][10/37] Eliminate builtin_type_ macros: Use expression arch for argument promotion
- References: <20080831175045.128504000@de.ibm.com> <20080831175122.785640000@de.ibm.com>
> 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