gcc says those values are out of bounds