Re: fix for strict-alias warnings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-15 15:49:17
Message-ID: 15959.1066232957@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

"Andrew Dunstan" <andrew(at)dunslane(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-10-15 15:51:26 Re: postgres --help-config
Previous Message kkim3 2003-10-15 15:43:07 Question about debugger

Browse pgsql-patches by date

  From Date Subject
Next Message Fabrizio Mazzoni 2003-10-15 18:00:34 pg_dump italian corrected
Previous Message Tom Lane 2003-10-15 15:24:27 Re: fix for strict-alias warnings