title: How can I optimize GCC compilation for memory usage?
body: <p>I am developing a library which should use as little memory as possible (I am not concerned about <em>anything</em> else, like the binary size, or speed optimizations).</p>
  
  <p>Are there any GCC flags (or any other GCC-related options) I can use? Should I avoid some level of -O* optimization?</p>