Re: fix for strict-alias warnings

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: fix for strict-alias warnings
Дата
Msg-id 200310142001.h9EK1Wv25782@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: fix for strict-alias warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > OK, what gcc versions support -fno-strict-aliasing?  Do we need a
> > configure test for it?
>
> Perhaps ... although it is recognized in 2.95.3 and probably for a good
> ways before that.
>
> It looks to me like what has changed in gcc 3.3 is not the existence
> of the flag, but the fact that -O2 now turns it on where it did not
> before.

Right.  I am just not sure how old our gcc compilers are in the field.
We can do it unconditionally and wait for a failure report.

--
  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
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: fix for strict-alias warnings