[Bug ada/15843] Illegal program not detected, RM 3.7.2(2)
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 5 10:14:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15843
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |ebotcazou at gcc dot gnu.org
Resolution|--- |WONTFIX
Known to fail| |
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
In addition to the usage of this attribute in the Ada RM, GNAT also permits the
use of the 'Constrained attribute in a generic template for any type, including
types without discriminants. The value of this attribute in the generic
instance when applied to a scalar type or a record type without discriminants
is always True. This usage is compatible with older Ada compilers, including
notably DEC Ada.
More information about the Gcc-bugs
mailing list