aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorJustin Squirek <squirek@adacore.com>2018-11-14 11:41:09 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-11-14 11:41:09 +0000
commit7f0f5de19093d4550b48d3a26f1869e8def3f7e8 (patch)
treeb276ce52e71a384ada6830fbeffcd3292664a52e /gcc/tree-data-ref.c
parent39b763713cdc656911944ea56225f77e9f27d4e3 (diff)
downloadgcc-7f0f5de19093d4550b48d3a26f1869e8def3f7e8.zip
gcc-7f0f5de19093d4550b48d3a26f1869e8def3f7e8.tar.gz
gcc-7f0f5de19093d4550b48d3a26f1869e8def3f7e8.tar.bz2
[Ada] Visibility error on used enumerated type
This patch fixes an issue whereby the freezing of a nested package containing an enumerated type declaration would cause visibility errors on literals of such type when a use_all_type_clause for it appears within the same declarative region. 2018-11-14 Justin Squirek <squirek@adacore.com> gcc/ada/ * sem_ch7.adb (Uninstall_Declarations): Add conditional to avoid uninstalling potential visibility during freezing on enumeration literals. gcc/testsuite/ * gnat.dg/enum5.adb: New testcase. From-SVN: r266119
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions