diff options
author | Javier Miranda <miranda@adacore.com> | 2020-06-30 14:20:09 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-10-16 03:34:52 -0400 |
commit | 2357b2948db15d5e3529d2368e11b4f6caa2dca0 (patch) | |
tree | d09f6f8a6e7379142f18de3ec61d1c1405e15a9d /gcc/cp/parser.c | |
parent | 8dfdfd4048e7a67f2ba01e9efc5d83554d6546ba (diff) | |
download | gcc-2357b2948db15d5e3529d2368e11b4f6caa2dca0.zip gcc-2357b2948db15d5e3529d2368e11b4f6caa2dca0.tar.gz gcc-2357b2948db15d5e3529d2368e11b4f6caa2dca0.tar.bz2 |
[Ada] Crash in generic renaming declaration of child unit
gcc/ada/
* sem_ch12.adb (Check_Generic_Child_Unit): When the child unit
is a renaming of a generic child unit then traverse the scope
containing the renaming declaration to locate the instance of
its parent. Otherwise the parent is not installed and the
frontend cannot process the instantiation.
Diffstat (limited to 'gcc/cp/parser.c')
0 files changed, 0 insertions, 0 deletions