diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2025-03-25 18:23:50 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2025-06-10 10:59:29 +0200 |
commit | d02a2fe99f895f7c8cf969b618a51700e61c69ac (patch) | |
tree | fbadf9dfff8a92345d4d80f67a50c8fbc1b5aabb /gcc/dwarf2ctf.cc | |
parent | 4aca5bc773ced42d006e07197e24462d0fa38a8f (diff) | |
download | gcc-d02a2fe99f895f7c8cf969b618a51700e61c69ac.zip gcc-d02a2fe99f895f7c8cf969b618a51700e61c69ac.tar.gz gcc-d02a2fe99f895f7c8cf969b618a51700e61c69ac.tar.bz2 |
ada: Fix wrong initialization of library-level object by conditional expression
The previous fix was not robust enough in the presence of transient scopes.
gcc/ada/ChangeLog:
* exp_ch4.adb (Insert_Conditional_Object_Declaration): Deal with a
transient scope being created around the declaration.
* freeze.adb (Freeze_Entity): Do not call Freeze_Static_Object for
a renaming declaration.
Diffstat (limited to 'gcc/dwarf2ctf.cc')
0 files changed, 0 insertions, 0 deletions