title: Can I get a log of optimizations applied by the compiler?
body: <p>When compiling a C++ application or library with optimizations turned on, like <code>-O3</code> for gcc, is there a way to get the applied optimizations listed? I mean, without comparing the actual byte code. This would be interesting to learn.</p>