Что делает параметр -O2 для gcc? [закрыто]

-1
28.06.2018, 05:12
1 ответ

Параметры -Oвключают оптимизацию компилятора. Изman gcc:

   -O2 Optimize even more.  GCC performs nearly all supported
       optimizations that do not involve a space-speed tradeoff.  As
       compared to -O, this option increases both compilation time and the
       performance of the generated code.

Список конкретных оптимизаций см. на страницах руководства.

0
28.01.2020, 05:12

Теги

Похожие вопросы