Nvidia OpenGL compiler crash on this shader

shader code

//bug
void crash_bug( out vec4 col)
{
    vec4 v[2];
    v[0] = vec4(1.0 );
    v[1] = vec4(1.0 );
    mat4 m = mat4(1.);
    float t = 0.0;
    for(int i = 0; i < 8; ++i)
    {
        vec4 s = m * v[i];
        if((s.w<=-1.001)){
            vec2 sp = s.xy / s.w;
			
			//BUG
            t = max(t,sp.x); // uncomment this
        }
    }
    col = vec4(t);
 
}