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

From Taral
Subject Re: ANSI-strict pointer aliasing rules
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: ANSI-strict pointer aliasing rules  (Martijn van Oosterhout <[email protected]>)
Responses Re: ANSI-strict pointer aliasing rules
List pgsql-hackers
On 4/26/06, Martijn van Oosterhout <[email protected]> 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 <[email protected]>
"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