aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/libbacktrace
diff options
context:
space:
mode:
authorGary Dismukes <dismukes@adacore.com>2026-01-30 17:55:16 +0100
committerEric Botcazou <ebotcazou@adacore.com>2026-01-30 18:47:56 +0100
commitf58b792238ad8b35954e5668c8e0ff03801ce278 (patch)
tree44545ef1647b2968d696110f99f0ccea941aba6e /libstdc++-v3/src/libbacktrace
parentead66d5f229edda244d1a91125524eca9abdb9b9 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
Ada: Fix regression in visibility for nested use_type_clausesHEADtrunkmaster
An earlier fix for wrong handling of visibility when a use_type_clause with "all" occurs within a nested scope when there's a use_type_clause in an enclosing scope without "all" was incorrect and led to primitives being visible in a later nested scope that has a use_type_clause with "all" for the same type. We now properly restore Current_Use_Clause to refer to the outer use_type_clause when ending the scope of nested use_type_clauses. gcc/ada/ * sem_ch8.adb (End_Use_Type): Remove test of Prev_Use_Clause as as a condition for resetting In_Use and Current_Use_Clause, and change setting of that flag and field based on Prev_Use_Clause rather than setting them to Empty. Revise preceding comment.
Diffstat (limited to 'libstdc++-v3/src/libbacktrace')
0 files changed, 0 insertions, 0 deletions