aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc-changelog/git_commit.py
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2025-10-28 23:04:49 +0100
committerEric Botcazou <ebotcazou@adacore.com>2025-10-28 23:05:51 +0100
commit20ad15cfebe0eb571b02956f0628a78c3161184c (patch)
tree6c754f9a2d90584588f22420332f0d4b3823bca2 /contrib/gcc-changelog/git_commit.py
parent4f06ce10a685dc793a8e6dbae00cdef0c3b15cc7 (diff)
downloadgcc-20ad15cfebe0eb571b02956f0628a78c3161184c.zip
gcc-20ad15cfebe0eb571b02956f0628a78c3161184c.tar.gz
gcc-20ad15cfebe0eb571b02956f0628a78c3161184c.tar.bz2
Ada: Fix visibility issue for child unit declared as instance on homonym
The reproducer is made up of 9 units containing multiple level of nested instances, but in the end the problem is that the final child unit has the same name as the parameter in its instantiation, exposing the wrong manipulation of the homonym chain done in Analyze_Subprogram_Instantiation. The fix is to replace this manipulation with a call to Remove_Homonym. gcc/ada/ PR ada/48039 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Call Remove_Homonym to remove the enclosing package from visibility.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
0 files changed, 0 insertions, 0 deletions