gcc: why optimize for size flag is not the default

Поиск
Список
Период
Сортировка
От Nikhil Sontakke
Тема gcc: why optimize for size flag is not the default
Дата
Msg-id a301bfd90903110114l10cd3e03s3534bf6e998d53d@mail.gmail.com
обсуждение исходный текст
Ответы Re: gcc: why optimize for size flag is not the default
Список pgsql-hackers
Hi, 

I was wondering why -Os is not used in place of -O2 while compiling the Postgres sources with gcc. I prepared 2 install directories by respectively using -Os and -O2 flags and in the former case it seems to reduce the install footprint by about 1MB or so. Agreed this is not significant for normal systems. But I was wondering if there is a performance reason too for not using -Os.

Regards,

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Prepping to break every past release...
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: gcc: why optimize for size flag is not the default