aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/libsupc++/exception
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2026-01-30 11:58:58 +0100
committerEric Botcazou <ebotcazou@adacore.com>2026-01-30 12:01:36 +0100
commita28bb06b3e20a26579e06dc1b5bd6344ce4f88f0 (patch)
treefb9ec4a3e54d4ab26284bc09e21ad8c11ca2c54d /libstdc++-v3/libsupc++/exception
parentb61b3e19f94f9b79afd74602016603124a943510 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
Ada: Fix spurious visibility error from limited_with clause in hierarchyHEADtrunkmaster
The problem is that the compiler installs the limited view of a package that is already installed by the virtue of being an ancestor of the main unit. gcc/ada/ PR ada/123867 * sem_ch10.adb (Analyze_Compilation_Unit): Output info message when -gnatdi is specified. (Install_Parents): Likewise. Set the Is_Visible_Lib_Unit flag on the unit. (Install_Private_With_Clauses): Do not output info message here. (Remove_Parents): Output info message when -gnatdi is specified and clear the Is_Visible_Lib_Unit flag on the unit. gcc/testsuite/ * gnat.dg/specs/limited_with3.ads: New test. * gnat.dg/specs/limited_with3-child.ads: New helper. * gnat.dg/specs/limited_with3-child-grandchild.ads: Likewise. * gnat.dg/specs/limited_with3-child-grandchild-grandgrandchild.ads: Likewise.
Diffstat (limited to 'libstdc++-v3/libsupc++/exception')
0 files changed, 0 insertions, 0 deletions