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

From Tom Lane
Subject Re: fix for strict-alias warnings
Date
Msg-id 15959.1066232957@sss.pgh.pa.us
Whole thread Raw
In response to Re: fix for strict-alias warnings  ("Andrew Dunstan" <andrew@dunslane.net>)
List pgsql-patches
"Andrew Dunstan" <andrew@dunslane.net> writes:
> Interestingly, a lot of the comparison and call to memset() still seem to be
> optimised away, but the loop from MemSet is left, so the multiplication is
> also not optimised away.

Yeah, I saw the same in gcc 3.2 (on Intel) yesterday.  I thought maybe
3.3 would fix that, since it sure looks like an optimization bug, but
evidently not.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: fix for strict-alias warnings
Next
From: Fabrizio Mazzoni
Date:
Subject: pg_dump italian corrected