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++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12383 Discussions

preprocessor command #pragma optimize

Alexander047
Beginner
131 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
105 Views
Reply