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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

preprocessor command #pragma optimize

Alexander047
Beginner
740 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
714 Views
0 Kudos
Reply