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.