What does -Xopencc flag stand for?

My program works fine in device mode only if

<i>-Xopencc -O0</i>

flag is passed to the compiler (thread here) Does someone know the meaning of it? What kind of optimization it stands for (compiling optimization or optimization of produced code?)

Anyone? :-)
Option is passed straight to nvopencc during compilation stage (see reference on nvcc). But what kind of optimization is that? Is it a bug?

O0 generally means “turn all optimization off”

Hmm, I need to check how this would affect some of my kernels.