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

preprocessor command #pragma optimize

Alexander047
Beginner
434 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
408 Views
0 Kudos
Reply