This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]