https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16077

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|wrong-code                  |
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
I think that this invokes erroneous execution in Ada 2012:

B.1(31/3): A True Import aspect indicates that the entity is defined externally
(that is, outside the Ada program).

B.1(38.1/3): It is the programmer's responsibility to ensure that the use of
interfacing aspects does not violate Ada semantics; otherwise, program
execution is erroneous.

Reply via email to