Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12471 Discussions

preprocessor command #pragma optimize

Alexander047
Beginner
253 Views
Good day!
 
I noticed that the compiler nios-elf-gcc ignores the preprocessor command #pragma optimize. 
The fact is that when optimizing some parts of the code, the behavior of the program is wrong.
Can you please tell me if it is possible to manage the optimization for NIOS for individual code sections?
If #pragma optimize command is supported in nios-elf-gcc, tell me please what is the syntax of this preprocessor command (can you give an example).
 
Best regards, Selentsov
0 Kudos
1 Reply
EBERLAZARE_I_Intel
227 Views
Reply