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

From Bruce Momjian
Subject Re: fix for strict-alias warnings
Date
Msg-id 200310141937.h9EJbST23534@candle.pha.pa.us
Whole thread Raw
In response to Re: fix for strict-alias warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: fix for strict-alias warnings
List pgsql-patches
Tom Lane wrote:
> > I think we must either add -fno-strict-aliasing, or switch to the c
> > compiler memset functions for gcc.
>
> We will not be doing the latter, for certain.

OK, what gcc versions support -fno-strict-aliasing?  Do we need a
configure test for it?  Would someone profile PostgreSQL with
-fno-strict-aliasing and see if you can see a larger performance hit?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: fix for strict-alias warnings
Next
From: Tom Lane
Date:
Subject: Re: fix for strict-alias warnings