This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/15604] Ambiguous aggregate -- Accepts invalid
- From: "charlet at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2005 14:04:01 -0000
- Subject: [Bug ada/15604] Ambiguous aggregate -- Accepts invalid
- References: <bug-15604-286@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from charlet at gcc dot gnu dot org 2005-11-15 14:04 -------
Subject: Bug 15604
Author: charlet
Date: Tue Nov 15 14:03:56 2005
New Revision: 107006
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107006
Log:
2005-11-14 Ed Schonberg <schonberg@adacore.com>
Javier Miranda <miranda@adacore.com>
PR ada/15604
* sem_type.adb (Covers): In an inlined body, a composite type matches
a private type whose full view is a composite type.
(Interface_Present_In_Ancestor): Protect the frontend against
previously detected errors to ensure that its compilation
with assertions enabled gives the same output that its
compilation without assertions.
(Interface_Present_In_Ancestor): Add support for private types.
Change name In_Actual to In_Generic_Actual (clean up)
(Disambiguate): New predicate In_Actual, to recognize expressions that
appear in the renaming declaration generated for generic actuals, and
which must be resolved in the outer context.
Modified:
trunk/gcc/ada/sem_type.adb
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15604