[Bug ada/62117] [4.9 regression] wrong code for passing small array argument'Address, in generic
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 26 07:38:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62117
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |ebotcazou at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
The memcmp function as declared is not pure since it reads local memory. Pure
functions are only allowed to read their arguments in Ada.
More information about the Gcc-bugs
mailing list