diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-05-21 08:40:06 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-06-20 10:50:56 +0200 |
commit | e8e0306649a09f47c429b36b7fcf95eaff100095 (patch) | |
tree | 490aabc3a215b9c32f9c8a494190f5d8ccf3f698 /COPYING3.LIB | |
parent | 980fddd8d90c97d44074021c6121a8d134e6c88c (diff) | |
download | gcc-e8e0306649a09f47c429b36b7fcf95eaff100095.zip gcc-e8e0306649a09f47c429b36b7fcf95eaff100095.tar.gz gcc-e8e0306649a09f47c429b36b7fcf95eaff100095.tar.bz2 |
ada: Fix composition of primitive equality for untagged records with variant part
In Ada 2012, primitive equality operators of untagged record types compose
like those of tagged record types, but this has never been implemented for
untagged record types with a variant part.
gcc/ada/
* exp_ch4.adb (Expand_Composite_Equality): In the untagged record
case, always look for a user-defined equality operator in Ada 2012.
Diffstat (limited to 'COPYING3.LIB')
0 files changed, 0 insertions, 0 deletions