Don't use alloca in a macro, which may be used in a loop. This does fix bug #805.