Is it possible to pass -O0 to C in order to disable all optimizations? I have a problem with a C library I'm compiling and accessing from Nim, and I want to see what I'm doing wrong more clearly.
I tried to pass --passC:"-O0" and passC="-O0" but both seem to have no effect on debugging information in Valgrind.