I have a project where I use make
to recompile only changed files and their dependedants. Sometimes I add -O0
to debug whereas most code is compiled with -O2 -march=native
.
It's always the same compiler version. Is it possible to end up with two versions of code (e.g. one previously inlined elsewhere) or constants after linking?