Re: xlc 12.1 miscompiles 32-bit ginCompareItemPointers() - Mailing list pgsql-hackers

From Noah Misch
Subject Re: xlc 12.1 miscompiles 32-bit ginCompareItemPointers()
Date
Msg-id 20150725233149.GA1475143@tornado.leadboat.com
Whole thread Raw
In response to Re: xlc 12.1 miscompiles 32-bit ginCompareItemPointers()  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
On Sun, Jul 19, 2015 at 04:32:16PM -0400, Noah Misch wrote:
> On Sun, Jul 19, 2015 at 04:22:47PM -0400, Tom Lane wrote:
> > More: if the compiler does have a bug like that, how much confidence can
> > we have, really, that there are no other miscompiled places and won't be
> > any in the future?  If we are going to support this configuration, I think
> > what the patch ought to do is disable PG_USE_INLINE globally when this
> > compiler is detected.  That would revert the behavior to what it was
> > before 43d89a2.
>
> That's a reasonable alternative.

Here's the patch implementing it.

Attachment

pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: markup problems in row_security GUC docs
Next
From: Joe Conway
Date:
Subject: Re: markup problems in row_security GUC docs