Re: ANSI-strict pointer aliasing rules - Mailing list pgsql-hackers

From Taral
Subject Re: ANSI-strict pointer aliasing rules
Date
Msg-id fa0147d90604261522rcd00a6eif3f0aecfba4132c7@mail.gmail.com
Whole thread Raw
In response to Re: ANSI-strict pointer aliasing rules  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: ANSI-strict pointer aliasing rules
List pgsql-hackers
On 4/26/06, Martijn van Oosterhout <kleptog@svana.org> wrote:
> Well, there are a number of fixes, it's questionable whether it's worth
> the effort. In GCC you can mark structures that are aliased to avoid
> the problem (attribute((may_alias)) iirc), but we don't do that.

There's also C99's "restrict".

> 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".

--
Taral <taralx@gmail.com>
"You can't prove anything."   -- Gödel's Incompetence Theorem


pgsql-hackers by date:

Previous
From: Gevik Babakhani
Date:
Subject: Re: todo items history
Next
From: Wes
Date:
Subject: Re: Catalog Access (was: [GENERAL] Concurrency problem