FAQ: Why is C/C++ compiler switch -Og missing in CCES?

Document created by Kader.M Employee on Nov 21, 2017
Version 1Show Document
  • View in full screen mode



VDSP++ has C/C++ compiler switch -Og. It was very useful switch. But CCES hasn't it. Why?





We removed the -Og switch from CCES for SHARC and Blackfin cores. This switch was intended to do as much optimization as possible without affecting the debugging experience. However we felt that, although debugging experience was preserved, the performance improvement compared to use of -g was not particularly great. By rationalizing such switches we are able to concentrate our testing on more frequently-used options and therefore improve the overall robustness of the tools.