diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2007-12-09 11:07:54 +0000 |
---|---|---|
committer | Samuel Tardieu <sam@gcc.gnu.org> | 2007-12-09 11:07:54 +0000 |
commit | 5320014a061cd33f2e36baa9ec17a62519f0f8bd (patch) | |
tree | 4818e0fca8062f79b9b7f51e705d3452749260e8 /gcc/dwarf2out.c | |
parent | 28d08315ed4962e850886887085d35e135d6a34e (diff) | |
download | gcc-5320014a061cd33f2e36baa9ec17a62519f0f8bd.zip gcc-5320014a061cd33f2e36baa9ec17a62519f0f8bd.tar.gz gcc-5320014a061cd33f2e36baa9ec17a62519f0f8bd.tar.bz2 |
re PR ada/34366 (Legal program rejected, various anonymous access-to-subprogram types, Ada 2005)
gcc/ada/
PR ada/34366
* sem_ch3.adb (Designates_T): New function.
(Mentions_T): Factor reusable part of the logic into Designates_T.
Consider non-access parameters and access and non-access result.
(Check_Anonymous_Access_Components): Set ekind of anonymous access to
E_Subprogram_Type to E_Anonymous_Access_Subprogram_Type.
* einfo.ads: Update comment for E_Anonymous_Access_Subprogram_Type.
gcc/testsuite/
PR ada/34366
* gnat.dg/enclosing_record_reference.ads,
gnat.dg/enclosing_record_reference.adb: New test.
From-SVN: r130720
Diffstat (limited to 'gcc/dwarf2out.c')
0 files changed, 0 insertions, 0 deletions