Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group