Re: xlc 12.1 miscompiles 32-bit ginCompareItemPointers()

From: Noah Misch <noah(at)leadboat(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: xlc 12.1 miscompiles 32-bit ginCompareItemPointers()
Date: 2015-07-25 23:31:49
Message-ID: 20150725233149.GA1475143@tornado.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
miscompile-aix32-v1.patch text/plain 504 bytes

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2015-07-26 00:49:31 Re: markup problems in row_security GUC docs
Previous Message Joe Conway 2015-07-25 23:17:00 Re: markup problems in row_security GUC docs