aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-02-20 22:40:47 +0100
committerMarc Poulhiès <poulhies@adacore.com>2024-05-16 10:49:29 +0200
commit81a5815a48b0d392de7ece86bdcc23a2d72aa5bd (patch)
treee1905ff6846874b0a44137f1a7ce402cfb169034 /gcc/tree-vectorizer.h
parent7c487eb8eccaad7c4ce9e4920fe9eaa5a9fab0bf (diff)
downloadgcc-81a5815a48b0d392de7ece86bdcc23a2d72aa5bd.zip
gcc-81a5815a48b0d392de7ece86bdcc23a2d72aa5bd.tar.gz
gcc-81a5815a48b0d392de7ece86bdcc23a2d72aa5bd.tar.bz2
ada: Fix bogus error on function returning noncontrolling result in private part
This occurs in the additional case of RM 3.9.3(10) in Ada 2012, that is to say the access controlling result, because the implementation does not use the same (correct) conditions as in the original case. This factors out these conditions and uses them in both cases, as well as adjusts the wording of the message in the first case. gcc/ada/ * sem_ch6.adb (Check_Private_Overriding): Implement the second part of RM 3.9.3(10) consistently in both cases.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions