diff options
author | Justin Squirek <squirek@adacore.com> | 2022-01-31 21:51:38 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-05-13 08:04:32 +0000 |
commit | 6a28d40dc4dd47431cc52edbb8b1994f81aa1748 (patch) | |
tree | 6dd2fe2ee289f89c6a57047d2052b5d1f00c48a6 /gcc/gimple-range-path.cc | |
parent | cf54619a8e33d2494b9f216f27d0110b8e0a4e49 (diff) | |
download | gcc-6a28d40dc4dd47431cc52edbb8b1994f81aa1748.zip gcc-6a28d40dc4dd47431cc52edbb8b1994f81aa1748.tar.gz gcc-6a28d40dc4dd47431cc52edbb8b1994f81aa1748.tar.bz2 |
[Ada] Improve expected type error messages
This patch improves error messages concerning type mismatches by
printing the actual expected type in more cases instead of the expected
type's first subtype.
gcc/ada/
* sem_util.adb (Wrong_Type): Avoid using the first subtype of
the expected type in error messages when the expected type is
not internally generated.
Diffstat (limited to 'gcc/gimple-range-path.cc')
0 files changed, 0 insertions, 0 deletions