title: GCC option that can cause trouble when debugging with GDB
body: <p>I was wondering if I can get a list of gcc option that can cause gdb to behave strange.</p>
  
  <p>Of course, we all know that using optimization options (-O3 for instance) causes weird behaviour in gdb, but what are the other options that can have such impact?</p>
  
  <p>(I'm currently trying to run an mpeg2 decoder in gdb and I get weird behaviour even after removing optimization flags ...)</p>