197.45 crash : program scope vector initialized with literal crash report

With last nVidia release, initializing a global vector type variable with a literal crash the compiler.

this example crash in clBuildProgram :

__constant float4 f = (float4)(0.f, 0.f, 0.f, 0.f);

__kernel void test()



With 257.15 beta drivers, there is an opencl error (it’s a bit better than a crash) with a message speaking about “Ptx compilation failed”.