C code optimization using #pragma GCC optimize

后端 未结 2 737
伪装坚强ぢ
伪装坚强ぢ 2021-01-21 08:47

I am trying to use the GCC pragma optimize to set global optimizations in my C code. GCC version is 4.4.3 on Ubuntu. The basic idea is to use function specific optimization leve

2条回答
  •  梦谈多话
    2021-01-21 09:17

    For the last question: you could put it into a separate compilation unit and use the command line switch: -O3

提交回复
热议问题