In GCC, one can use the noipa attribute to disable inter-procedural optimiations. Similarly, in Clang, optnone can be used to disable all optimizat
noipa
optnone