title: How to disable compiler optimizations in gcc?
body: <p>I am trying to learn assembly language. I have searched and found how to disassemble a <code>.c</code> file but I think it produces some optimized version of the program. Is there any way so that I can see the exact assembly code which corresponds to my C file.</p>