Re: fix for strict-alias warnings - Mailing list pgsql-patches

From Manfred Spraul
Subject Re: fix for strict-alias warnings
Date
Msg-id 3F8C47BF.1080907@colorfullife.com
Whole thread Raw
In response to Re: fix for strict-alias warnings  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: fix for strict-alias warnings  (Andrew Dunstan <andrew@dunslane.net>)
Re: fix for strict-alias warnings  (Neil Conway <neilc@samurai.com>)
Re: fix for strict-alias warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
I've asked the question on the gcc devel list. The first reply was that
MemSet violates strict aliasing rules:

http://gcc.gnu.org/ml/gcc/2003-10/msg00524.html

I think we must either add -fno-strict-aliasing, or switch to the c
compiler memset functions for gcc.

--
    Manfred


pgsql-patches by date:

Previous
From: "veramente@libero.it"
Date:
Subject: Italian NLS, pg_dump-it.po initial translation
Next
From: Bruce Momjian
Date:
Subject: Re: fix for strict-alias warnings