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

Another is here

They are optimization options.

Greg McKaskle