diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-07-05 22:04:07 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-07-18 15:11:47 +0200 |
commit | 086a2c9d042f14397dcde345c5011e20cc6016f4 (patch) | |
tree | ea869fbce186e19c9364336ca4b263a44a007701 /libgcc | |
parent | e273cf2c1e7fb02eea3b73d8683c6591386587b4 (diff) | |
download | gcc-086a2c9d042f14397dcde345c5011e20cc6016f4.zip gcc-086a2c9d042f14397dcde345c5011e20cc6016f4.tar.gz gcc-086a2c9d042f14397dcde345c5011e20cc6016f4.tar.bz2 |
ada: Improve error message for ambiguous subprogram call
This restores the full listing of the types for the interpretations.
gcc/ada/
* sem_util.ads (Wrong_Type): Add Multiple parameter defaulting to
False and document it.
* sem_util.adb (Wrong_Type): Do not return early if an error has
already been posted on Expr and Multiple is True.
* sem_ch4.adb (Analyze_One_Call): Pass All_Errors_Mode as the
actual parameter for Multiple to Wrong_Type.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions