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: (view raw, whole thread or download thread mbox)
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


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-2017 The PostgreSQL Global Development Group