aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorJavier Miranda <miranda@adacore.com>2020-06-30 14:20:09 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2020-10-16 03:34:52 -0400
commit2357b2948db15d5e3529d2368e11b4f6caa2dca0 (patch)
treed09f6f8a6e7379142f18de3ec61d1c1405e15a9d /gcc/cp/parser.c
parent8dfdfd4048e7a67f2ba01e9efc5d83554d6546ba (diff)
downloadgcc-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