Re: compiler warnings on the buildfarm - Mailing list pgsql-hackers

From Tom Lane
Subject Re: compiler warnings on the buildfarm
Date
Msg-id 13451.1184281590@sss.pgh.pa.us
Whole thread Raw
In response to Re: compiler warnings on the buildfarm  (Heikki Linnakangas <heikki@enterprisedb.com>)
Responses Re: compiler warnings on the buildfarm  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> FWIW, this patch makes the warnings go away, and makes the code a little 
> bit more readable as well. It would be nice to understand why exactly 
> it's complaining, though.

Let's apply the patch.  We are clearly tickling a bug or near-bug in
gcc, and it may have worse consequences than this on other platforms
or other gcc versions.

At the same time, if anyone wants to trim the existing code down to a
small test case, I'm sure the gcc boys would appreciate a bug report.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: compiler warnings on the buildfarm
Next
From: Tom Lane
Date:
Subject: Re: compiler warnings on the buildfarm