diff options
author | Ed Schonberg <schonberg@adacore.com> | 2020-05-08 09:27:24 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-07-06 07:35:12 -0400 |
commit | e3bf5e2ef3d08a1fac9db2b5f0a1f107b25d67c5 (patch) | |
tree | 56ccc83430de9e8a57a75ff600c8f1284dfbc933 /gcc/fortran/match.c | |
parent | ce16f54f6edf9c440046f6dd454e1dcbbb1ffae3 (diff) | |
download | gcc-e3bf5e2ef3d08a1fac9db2b5f0a1f107b25d67c5.zip gcc-e3bf5e2ef3d08a1fac9db2b5f0a1f107b25d67c5.tar.gz gcc-e3bf5e2ef3d08a1fac9db2b5f0a1f107b25d67c5.tar.bz2 |
[Ada] Crash on derived type with rep. clause and renamed discriminant
gcc/ada/
* exp_ch5.adb (Find_Component): If the target type is a derived
record type and the required component is a discriminant that is
renamed in the derived type declaration, use the name of the
original discriminant to locate the intended target component.
Diffstat (limited to 'gcc/fortran/match.c')
0 files changed, 0 insertions, 0 deletions