11.07.2015 Views

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Descriptions of optionsThis option is not available in the <strong>IAR</strong> Embedded Workbench IDE.--no_wrap_diagnosticsSyntaxDescription--no_wrap_diagnosticsBy default, long lines in diagnostic messages are broken into several lines to make themessage easier to read. Use this option to disable line wrapping of diagnostic messages.This option is not available in the <strong>IAR</strong> Embedded Workbench IDE.-OSyntaxParameters-O[n|l|m|h|hs|hz]nl (default)mhhshzNone* (Best debug support)Low*MediumHigh, balancedHigh, favoring speedHigh, favoring size*The most important difference between None and Low is that at None, all non-static variableswill live during their entire scope.DescriptionUse this option to set the optimization level to be used by the compiler when optimizingthe code. If no optimization option is specified, the optimization level Low is used bydefault. If only -O is used without any parameter, the optimization level High balancedis used.A low level of optimization makes it relatively easy to follow the program flow in thedebugger, and, conversely, a high level of optimization makes it relatively hard.See also Controlling compiler optimizations, page 120.Project>Options>C/<strong>C++</strong> <strong>Compiler</strong>>Optimizations160<strong>MSP430</strong> <strong>IAR</strong> C/<strong>C++</strong> <strong>Compiler</strong>Reference Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!