diff options
author | Ronan Desplanques <desplanques@adacore.com> | 2025-04-04 10:31:27 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2025-06-12 13:03:10 +0200 |
commit | 3a4d64e1a81da321ecfda326fa541f3ea9bd6c5b (patch) | |
tree | bbaa6dbdc23457c4cffab495b07da8fc382def9f /gcc/dwarf2ctf.cc | |
parent | 67c494899585c26427dee8e9f562b87b7e502390 (diff) | |
download | gcc-3a4d64e1a81da321ecfda326fa541f3ea9bd6c5b.zip gcc-3a4d64e1a81da321ecfda326fa541f3ea9bd6c5b.tar.gz gcc-3a4d64e1a81da321ecfda326fa541f3ea9bd6c5b.tar.bz2 |
ada: Fix wrong visibility over discriminants
This patch fixes an issue where the compiler was incorrectly allowing
references to discriminants of the ancestor type in private type
extensions.
gcc/ada/ChangeLog:
* sem_ch3.adb (Build_Derived_Private_Type): Fix test.
(Build_Derived_Record_Type): Adjust error recovery paths.
Diffstat (limited to 'gcc/dwarf2ctf.cc')
0 files changed, 0 insertions, 0 deletions