This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/62117] [4.9 regression] wrong code for passing small array argument'Address, in generic
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 26 Aug 2014 07:37:57 +0000
- Subject: [Bug ada/62117] [4.9 regression] wrong code for passing small array argument'Address, in generic
- Auto-submitted: auto-generated
- References: <bug-62117-4 at http dot gcc dot gnu dot org/bugzilla/>
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.