Re: fix for strict-alias warnings

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Manfred Spraul <manfred(at)colorfullife(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix for strict-alias warnings
Date: 2003-10-14 20:18:32
Message-ID: Pine.LNX.4.44.0310142218060.22628-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane writes:

> Given that gcc is smart enough not to move any code across the memset()
> call,

Is it? If you violate the aliasing rules, all bets are off.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-10-14 20:22:20 Re: fix for strict-alias warnings
Previous Message Neil Conway 2003-10-14 20:13:01 Re: postgres --help-config

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-10-14 20:22:20 Re: fix for strict-alias warnings
Previous Message Bruce Momjian 2003-10-14 20:01:32 Re: fix for strict-alias warnings