Re: ANSI-strict pointer aliasing rules

From: Taral <taralx(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ANSI-strict pointer aliasing rules
Date: 2006-04-26 22:22:21
Message-ID: fa0147d90604261522rcd00a6eif3f0aecfba4132c7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 4/26/06, Martijn van Oosterhout <kleptog(at)svana(dot)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(at)gmail(dot)com>
"You can't prove anything."
-- Gödel's Incompetence Theorem

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Wes 2006-04-26 22:24:27 Re: Catalog Access (was: [GENERAL] Concurrency problem
Previous Message Gevik Babakhani 2006-04-26 22:16:16 Re: todo items history