Re: fix for strict-alias warnings

From: Manfred Spraul <manfred(at)colorfullife(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix for strict-alias warnings
Date: 2003-10-14 19:00:15
Message-ID: 3F8C47BF.1080907@colorfullife.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-10-14 19:05:14 Re: postgres --help-config
Previous Message Tom Lane 2003-10-14 18:53:59 Re: postgres --help-config

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-10-14 19:09:24 Re: fix for strict-alias warnings
Previous Message veramente@libero.it 2003-10-14 17:55:11 Italian NLS, pg_dump-it.po initial translation