aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface
diff options
context:
space:
mode:
authorJustin Squirek <squirek@adacore.com>2022-06-15 01:14:31 +0000
committerPierre-Marie de Rodat <derodat@adacore.com>2022-07-06 13:29:48 +0000
commit0d7fbcf10f0d2b375a29fc6c184142f68c7f7da7 (patch)
tree2166979cf968fbd14e0a8b75241f27ef10e54a69 /gcc/ada/gcc-interface
parentbe3bdaa1a53beaa5bb881c079ceaae132fb422a6 (diff)
downloadgcc-0d7fbcf10f0d2b375a29fc6c184142f68c7f7da7.zip
gcc-0d7fbcf10f0d2b375a29fc6c184142f68c7f7da7.tar.gz
gcc-0d7fbcf10f0d2b375a29fc6c184142f68c7f7da7.tar.bz2
[Ada] Spurious non-callable warning on prefixed call in class condition
This patch corrects an error in the compiler whereby a function call in prefix notation within a class condition causes a spurious error claiming the name in the call is a non-callable entity when there exists a type extension in the same unit extended with a component featuring the same name as the function in question. gcc/ada/ * sem_ch4.adb (Analyze_Selected_Component): Add condition to avoid interpreting derived type components as candidates for selected components in preanalysis of inherited class conditions.
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions