title: How can I see the assembly code that is generated by a gcc (any flavor) compiler for a C/C++ program?
body: <p>I am trying to optimize a lot of multiplications and pointer arithmetics and would like to see what the compiler does underneath when I put in optimization flags.  </p>
  
  <p><strong>--Edit--</strong></p>
  
  <p>How to restrict it to a specific function or a code block?</p>
  
  <p><strong>--Edit_2--</strong></p>
  
  <p>How to let gcc generate a less verbose assembly-code?</p>