Created attachment 88817 hack to force defined behavior
As I feared, recompiling only pushbuf.c with gcc-4.7 fixes this bug. So something in pushbuf.c is miscompiled. Unfortunately it's also the biggest abuser of post increment ops.
A simple workaround seems to be this patch.
Created attachment 88817
hack to force defined behavior
As I feared, recompiling only pushbuf.c with gcc-4.7 fixes this bug. So something in pushbuf.c is miscompiled. Unfortunately it's also the biggest abuser of post increment ops.
A simple workaround seems to be this patch.