Re: fix for strict-alias warnings

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: fix for strict-alias warnings
Дата
Msg-id 200310141937.h9EJbST23534@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: fix for strict-alias warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: fix for strict-alias warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> > I think we must either add -fno-strict-aliasing, or switch to the c
> > compiler memset functions for gcc.
>
> We will not be doing the latter, for certain.

OK, what gcc versions support -fno-strict-aliasing?  Do we need a
configure test for it?  Would someone profile PostgreSQL with
-fno-strict-aliasing and see if you can see a larger performance hit?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: fix for strict-alias warnings
Следующее
От: Tom Lane
Дата:
Сообщение: Re: fix for strict-alias warnings