Re: ANSI-strict pointer aliasing rules

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, Taral <taralx(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: ANSI-strict pointer aliasing rules
Date: 2006-04-27 03:42:11
Message-ID: 87psj3adm4.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> As I read the spec, ANSI aliasing says that a given value must always be
> accessed through equivalent (up to signedness) primitive types

It there a difference between C89 and C99 here?

--
greg

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Will Reese 2006-04-27 03:47:26 Autovacuum Logging
Previous Message Bob Shearer 2006-04-27 02:40:12 pg_dump