[Bug ada/52319] use type clause partially invalidated by use clause in nested package

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 2 15:47:19 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52319

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <ebotcazou@gcc.gnu.org>:

https://gcc.gnu.org/g:21742b80f95af8b884cc45d4f0752578a5462345

commit r16-4933-g21742b80f95af8b884cc45d4f0752578a5462345
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Sun Nov 2 16:43:47 2025 +0100

    Ada: Fix use type clause invalidated by use clause in nested package

    gcc/ada/
            PR ada/52319
            * sem_ch8.adb (End_Use_Package): Use the scope of the operator.

    gcc/testsuite/
            * gnat.dg/use_type4.adb: New test.


More information about the Gcc-bugs mailing list