Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

pragma optimize

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
No RepliesBe the first to reply