Comment 2 for bug 638014

Revision history for this message
Yao Qi (yao-codesourcery) wrote :

Michael,
This case is extracted from CINT2000/256.bzip2/spec.c,
int spec_reset(int fd) {
    memset(spec_fd[fd].buf, 0, spec_fd[fd].len);
    spec_fd[fd].pos = spec_fd[fd].len = 0;
    return 0;
}

Yeah, we can use bzero, or __aeabi_memclr, which is ARM/EABI specific.