diff options
author | Ed Schonberg <schonberg@adacore.com> | 2021-06-30 18:11:11 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-09-21 15:24:55 +0000 |
commit | c36332031cff305ceb0d1924ee4b2cedbd85023a (patch) | |
tree | 966eaf6bb2596009896944c2ca5a3304050e9011 /gcc/ada/gcc-interface/decl.c | |
parent | 4d027eea556463895e524514c947b080a173b6e9 (diff) | |
download | gcc-c36332031cff305ceb0d1924ee4b2cedbd85023a.zip gcc-c36332031cff305ceb0d1924ee4b2cedbd85023a.tar.gz gcc-c36332031cff305ceb0d1924ee4b2cedbd85023a.tar.bz2 |
[Ada] Refine patch for spurious link error involving discriminated types
gcc/ada/
* sem_ch3.adb (Process_Discriminant_Expressions): If the
constraint is for a Component_Definition that appears in a
Component_Declaration, the entity to be used to create the
potentially global symbol is the Defining_Identifier of the
Component_Declaration.
Diffstat (limited to 'gcc/ada/gcc-interface/decl.c')
0 files changed, 0 insertions, 0 deletions