Re: fix for strict-alias warnings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fix for strict-alias warnings
Дата
Msg-id 12081.1066161162@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: fix for strict-alias warnings  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: fix for strict-alias warnings  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: fix for strict-alias warnings  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-patches
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.

            regards, tom lane

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

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