aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/cstreams.c
diff options
context:
space:
mode:
authorYannick Moy <moy@adacore.com>2022-05-23 14:27:41 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-07-05 08:28:18 +0000
commit1f85342b42b4bf9fee3cd23bc38498a3565bc9f1 (patch)
tree6cf1c37dbb540331c713b60083ad5f0684056759 /gcc/ada/cstreams.c
parent69a70b0acbf01387ec1d1e85d2c7ed0d588d799e (diff)
downloadgcc-1f85342b42b4bf9fee3cd23bc38498a3565bc9f1.zip
gcc-1f85342b42b4bf9fee3cd23bc38498a3565bc9f1.tar.gz
gcc-1f85342b42b4bf9fee3cd23bc38498a3565bc9f1.tar.bz2
[Ada] Spurious error on qualified prefix in Pack.Func'Result
When using a qualified name such as Pack.Func as the prefix of a 'Result attribute reference, the prefix is not fully resolved and may contain a chain of homonyms. Look for the expected function in the homonym chain instead of issuing an error if the first one is not the expected one. gcc/ada/ * sem_attr.adb (Analyze_Attribute): Take into account the possibility of homonyms.
Diffstat (limited to 'gcc/ada/cstreams.c')
0 files changed, 0 insertions, 0 deletions