]> git.ipfire.org Git - thirdparty/gcc.git/commit
Ada: Fix use type clause invalidated by use clause in nested package
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 2 Nov 2025 15:43:47 +0000 (16:43 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Sun, 2 Nov 2025 15:45:57 +0000 (16:45 +0100)
commit21742b80f95af8b884cc45d4f0752578a5462345
tree0181349e1df8c0cc31ad933a99572bf96e4aad11
parent0b2c031cca4017c5f87af519f0977b33b4bcb284
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.
gcc/ada/sem_ch8.adb
gcc/testsuite/gnat.dg/use_type4.adb [new file with mode: 0644]