nvcc crash nvcc crashes horridly when trying to compile a custom made project

As the topic says nvcc crashed horridly when compiling a custom made file with nvcc -g --host-compilation C++ -c cudaIntegralsFloat.cu

the entire error report is : [url=“http://pastebin.com/m4a094b64”]http://pastebin.com/m4a094b64[/url]

I’ve managed to fix it by appending --opencc-options -OPT:Olimit=99999 to the compile flags. It compiles and executes fine now.

Oh, but that thing is still a bug, no program should seg fault like that.