[Ada] Private type unexpectedly visible
Pierre-Marie de Rodat
derodat@adacore.com
Mon Oct 19 09:54:22 GMT 2020
The frontend erroneously allows referencing a subtype declaration
of a private type defined in the private part of a package.
Tested on x86_64-pc-linux-gnu, committed on trunk
gcc/ada/
* sem_ch7.adb (Uninstall_Declarations): Uninstall the
declaration of a subtype declaration defined in the private part
of a package.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 1403 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201019/1f15ad5c/attachment-0001.bin>
More information about the Gcc-patches
mailing list