aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch3.adb
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-03-21 08:35:53 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-17 08:25:43 +0000
commitd678717ab233610588ae15fcddeb20b39ac7daf5 (patch)
treeb6538731df5f29487a1f0e42bc774e8884803ccf /gcc/ada/sem_ch3.adb
parente2f7d58cda63c8764b0c55f13ddee3c9b114182e (diff)
downloadgcc-d678717ab233610588ae15fcddeb20b39ac7daf5.zip
gcc-d678717ab233610588ae15fcddeb20b39ac7daf5.tar.gz
gcc-d678717ab233610588ae15fcddeb20b39ac7daf5.tar.bz2
[Ada] Deal with derived record types in Has_Compatible_Representation
More precisely, untagged record types, as tagged record types are already handled by the predicate. If the derived type has not been given its own representation clause, then the representations are the same. gcc/ada/ * sem_ch13.adb (Has_Compatible_Representation): Return true for derived untagged record types without representation clause.
Diffstat (limited to 'gcc/ada/sem_ch3.adb')
0 files changed, 0 insertions, 0 deletions