Is there any way to explicitly tell compiler to stop optimization Linux, C, GCC. Is it possible to get the following equivalent functionality (pseudocode):