title: Order of GCC optimization flags
body: <p>I would like to define a set of optimization sequences to an input C program in order to study the impact of my applied sequences to code performance.</p>
  
  <p>example: </p>
  
  <pre><code> gcc -fauto-inc-dec -fbranch-count-reg -fcombine-stack-adjustments ... test.c -o out.o 
  </code></pre>
  
  <p>Does the order of these options affect the effectiveness of the produced code?</p>
  
  <p>As well, applying an optimization option twice does have an impact?</p>
  
  <p>Is there a better way to test thousands of optimization sequences? Like in -02 (that includes around 20 options), I would like to define my own flags  </p>