Re: fix for strict-alias warnings

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Neil Conway <neilc(at)samurai(dot)com>
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:29:25
Message-ID: Pine.LNX.4.44.0310142228450.22628-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Neil Conway writes:

> On Tue, 2003-10-14 at 15:00, Manfred Spraul wrote:
> > I think we must either add -fno-strict-aliasing, or switch to the c
> > compiler memset functions for gcc.
>
> The last time we did some benchmarking, using the builtin memset()
> imposes a significant performance penalty on plenty of different
> platforms.

The last time I did some testing, the builtin memset() was significantly
faster on plenty of different platforms.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Manfred Spraul 2003-10-14 20:32:56 Re: fix for strict-alias warnings
Previous Message Andrew Dunstan 2003-10-14 20:23:22 Re: fix for strict-alias warnings

Browse pgsql-patches by date

  From Date Subject
Next Message Manfred Spraul 2003-10-14 20:32:56 Re: fix for strict-alias warnings
Previous Message Andrew Dunstan 2003-10-14 20:23:22 Re: fix for strict-alias warnings