Strange compiler regression in combination with the zap framework

What fixes?
Also, did you try specifying the target?
You should use the debugger to tell you what the illegal instruction is. See this.