diff options
author | Justin Squirek <squirek@adacore.com> | 2018-11-14 11:41:46 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-11-14 11:41:46 +0000 |
commit | b7c34dff67750bf38d8b8d89ea44c01d8c7c5870 (patch) | |
tree | 05250ad3367e561bee78911884597e2235d93b1d /gcc/multiple_target.c | |
parent | 41a59f6b14660aaf802d749a22d07c14660312ed (diff) | |
download | gcc-b7c34dff67750bf38d8b8d89ea44c01d8c7c5870.zip gcc-b7c34dff67750bf38d8b8d89ea44c01d8c7c5870.tar.gz gcc-b7c34dff67750bf38d8b8d89ea44c01d8c7c5870.tar.bz2 |
[Ada] Crash on use of generic formal package
This patch fixes an issue whereby a complicated set of generic formal
packages in conjunction with use_clauses may cause a crash during
visibility checking due to a homonym being out of scope during the
checking stage.
2018-11-14 Justin Squirek <squirek@adacore.com>
gcc/ada/
* sem_ch8.adb (Use_One_Package): Add test for out-of-scope
homonyms.
gcc/testsuite/
* gnat.dg/generic_pkg.adb: New testcase.
From-SVN: r266126
Diffstat (limited to 'gcc/multiple_target.c')
0 files changed, 0 insertions, 0 deletions