This is the mail archive of the gcc-patches@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]

Re: [Ada] Fix PR 19900, 19408, 19140, 20255 and ACATS tests


* Richard Kenner:

>     Are you sure?  I suppose we are talking about this piece of code:
>
> Right.
>
>             type Derived2 (D : Int) is new Parent (D1 => D,
>                                                    D2 => D,
>                                                    B => False);
>
>     I've actually written code like this:
>
> ... which does not have any renamed discriminants!

Given that "renamed discriminants" is not a term used in the ARM, it's
hard to tell what it actually means.  Are two
discriminant_associations with the same expression required to trigger
the bug?  (My code does contain a discriminant_association whose
expression refer to a discriminate of the derived type.)


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