On Mon, Aug 16, 2010 at 7:45 PM, bernd Kopf <bayerntoni@xxxxxxxxxx> wrote: > > Hello, > > Is there a way to know what are exactly the differences between -O2 and -O3? > $ gcc -c -Q -O3 --help=optimizers > /tmp/O3-opts $ gcc -c -Q -O2 --help=optimizers > /tmp/O2-opts $ diff /tmp/O2-opts /tmp/O3-opts | grep enabled This are described on "man gcc" --tm