This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/15604] Ambiguous aggregate -- Accepts invalid



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]