re PR ada/15604 (Ambiguous aggregate -- Accepts invalid)
authorEd Schonberg <schonberg@adacore.com>
Tue, 15 Nov 2005 14:03:56 +0000 (15:03 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Nov 2005 14:03:56 +0000 (15:03 +0100)
commit861d669e3d66091b304d687c0f9239399983f5d8
treef1297c052e447c252c738d80a1cf090fd7011c7a
parent9ebe37436fec61ab771979afb0d0b2300c65b699
re PR ada/15604 (Ambiguous aggregate -- Accepts invalid)

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.

From-SVN: r107006
gcc/ada/sem_type.adb