Re: ANSI-strict pointer aliasing rules

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas DCP SD
Тема Re: ANSI-strict pointer aliasing rules
Дата
Msg-id E1539E0ED7043848906A8FF995BDA579FC3523@m0143.s-mxs.net
обсуждение исходный текст
Ответ на ANSI-strict pointer aliasing rules  (Taral <taralx@gmail.com>)
Список pgsql-hackers
> > 4. Find the option for disabling strict alias and get configure to
add
> > that.
>
> You'll still lose performance, but the option is "-qalias=noansi".

My old xlc does not show that option, it is unfortunately version
specific.
The currently compatible option to turn it off would be -qnoansialias

So we can use:
xlc -qnoansialias

The default cc options are: -qlanglvl=extended -qnoro -qnoroconst
So I guess we could also use (but above is imho clearer/better):
cc -qro -qroconst -qlanglvl=extc89

Andreas


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: ANSI-strict pointer aliasing rules
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: ANSI-strict pointer aliasing rules