WindRiver Compiler Flags

So while poking around in WindRiver’s build properties for our robot project, I noticed two build flags that I’ve never seen before, and can’t find anything about on the internet. The flags for “Non Debug mode” are “-O2 -fstrength-reduce -fno-builtin”. I know what the -O2 is, but I haven’t seen the other two before.

  1. Anyone know what the two unknown flags do?
  2. Is there any reason why I shouldn’t change it to -Ofast instead of -O2? It should be slightly faster due to the function inlining, right?

Thanks in advance!

One of them is here

http://gcc.gnu.org/onlinedocs/gcc-3.4.4/gcc/C-Dialect-Options.html

Another is here

http://sunsite.ualberta.ca/Documentation/Gnu/gcc-3.0.2/html_node/gcc_13.html

They are optimization options.

Greg McKaskle