diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2022-03-16 14:50:24 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-05-16 08:42:06 +0000 |
commit | b90e43dbbb2ba00ef2f8b2468fb09b43a12ae13d (patch) | |
tree | 018208736d69be937d7270ef6eae5f152422e335 /gcc/d/expr.cc | |
parent | 7e0c853c6f6a2987ac7616cbfdd52bb41d598bd5 (diff) | |
download | gcc-b90e43dbbb2ba00ef2f8b2468fb09b43a12ae13d.zip gcc-b90e43dbbb2ba00ef2f8b2468fb09b43a12ae13d.tar.gz gcc-b90e43dbbb2ba00ef2f8b2468fb09b43a12ae13d.tar.bz2 |
[Ada] Fix fallout of change in equality for untagged record types
The problem is that the resolution of expanded names implicitly assumes
that the visible and private homonyms in a given scope are segregated on
the homonym chain, and this was no longer the case for equality operators
in the specific case at stake.
gcc/ada/
* sem_ch7.adb (Inspect_Untagged_Record_Completion): Also move the
equality operator on the homonym chain if there is another equality
operator in the private part.
Diffstat (limited to 'gcc/d/expr.cc')
0 files changed, 0 insertions, 0 deletions