diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2025-03-20 23:29:33 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2025-06-10 10:58:37 +0200 |
commit | 8a4b72a2d99918d6bc315f2664a22457b9848ce7 (patch) | |
tree | dfd0853f5bb0c033492109e617dabac4f67f1d1a /gcc/dwarf2ctf.cc | |
parent | 2859883e8901f5db7b26c07f823e2e8bc531a70d (diff) | |
download | gcc-8a4b72a2d99918d6bc315f2664a22457b9848ce7.zip gcc-8a4b72a2d99918d6bc315f2664a22457b9848ce7.tar.gz gcc-8a4b72a2d99918d6bc315f2664a22457b9848ce7.tar.bz2 |
ada: Fix infinite loop with aggregate in generic unit
Root_Type does not return the same type for the private and the full view of
a derived private tagged type when both derive from an interface type.
gcc/ada/ChangeLog:
* sem_ch12.adb (Copy_Generic_Node): Do not call Root_Type to find
the root type of an aggregate of a derived tagged type.
Diffstat (limited to 'gcc/dwarf2ctf.cc')
0 files changed, 0 insertions, 0 deletions