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++

pragma optimize

Altera_Forum
Honored Contributor II
1,067 Views

Hey, 

I'd like to set compiler optimization to some specific function but the classical# pragma GCC optimize("O2") doesn't work (ignore by the compiler). 

 

Is there a way with Eclipse IDE to set optimization only on some part of the project (function or C file) 

 

Thanks for your help 

 

Emmanuel
0 Kudos
0 Replies
Reply