diff options
author | Tom Tromey <tromey@adacore.com> | 2023-11-28 14:26:56 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-12-15 14:03:48 -0700 |
commit | d56fdf1b976d32762c780a0107b20e61ce768967 (patch) | |
tree | 65bfccbde4736a34f3a9a23782a5d9b39a21d960 /sim/bfin/dv-bfin_gpio.h | |
parent | 1414fbf941140746862b920c6a1034099c4ff3d1 (diff) | |
download | gdb-d56fdf1b976d32762c780a0107b20e61ce768967.zip gdb-d56fdf1b976d32762c780a0107b20e61ce768967.tar.gz gdb-d56fdf1b976d32762c780a0107b20e61ce768967.tar.bz2 |
Refine Ada overload matching
Currently, the overload handling in Ada assumes that any two array
types are compatible. However, this is obviously untrue, and a user
reported an oddity where comparing two Ada strings resulted in a call
to the "=" function for packed boolean arrays.
This patch improves the situation somewhat, by requiring that the two
arrays have the same arity and compatible base element types. This is
still over-broad, but it seems safe and is better than the status quo.
Diffstat (limited to 'sim/bfin/dv-bfin_gpio.h')
0 files changed, 0 insertions, 0 deletions