This is the offending line in the assembler code produced by gcc-4.2: leal -1(%esi),20(%esp) It indeed contains "too many memory references". Regards, Max