This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r146404 - in /trunk/gcc/ada: sem_ch8.adb sem_ty...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 20 Apr 2009 12:29:39 -0000
- Subject: r146404 - in /trunk/gcc/ada: sem_ch8.adb sem_ty...
Author: charlet
Date: Mon Apr 20 12:29:39 2009
New Revision: 146404
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146404
Log:
2009-04-20 Ed Schonberg <schonberg@adacore.com>
* sem_ch8,adb (Analyze_Object_Renaming): Reject ambiguous expressions
in an object renaming declaration when the expected type is an
anonymous access type.
* sem_type.adb (Disambiguate): Use anonymousness to resolve a potential
ambiguity when one interpretation is an anonymous access type and the
other is a named access type, and the context itself is anonymous
Modified:
trunk/gcc/ada/sem_ch8.adb
trunk/gcc/ada/sem_type.adb