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

From Tom Lane
Subject Re: fix for strict-alias warnings
Date
Msg-id 12081.1066161162@sss.pgh.pa.us
Whole thread Raw
In response to Re: fix for strict-alias warnings  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: fix for strict-alias warnings
Re: fix for strict-alias warnings
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, what gcc versions support -fno-strict-aliasing?  Do we need a
> configure test for it?

Perhaps ... although it is recognized in 2.95.3 and probably for a good
ways before that.

It looks to me like what has changed in gcc 3.3 is not the existence
of the flag, but the fact that -O2 now turns it on where it did not
before.

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: fix for strict-alias warnings
Next
From: Bruce Momjian
Date:
Subject: Re: fix for strict-alias warnings