pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Martin Liška <marxin.liska@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15121: Multiple UBSAN errors
Date: Mon, 19 Mar 2018 14:41:23 -0400
Message-ID: <11474.1521484883@sss.pgh.pa.us> (raw)
In-Reply-To: <20180319182705.kq2vqno7arl7r2uj@alap3.anarazel.de>
References: <152140318583.11955.7731957058248462341@wrigleys.postgresql.org>
	<7df78014-c931-6c75-6f92-ec48f390b2b9@2ndquadrant.com>
	<CAObPJ3MAY9u1had3QSvYO0TG-iVECqDzF04PvMZSHrmxNknZ8Q@mail.gmail.com>
	<46a345c1-1f8d-fd0d-c334-d8ca577719a9@2ndquadrant.com>
	<CAObPJ3OLHU2DwZLfCXEzkcqU2v6Otk6b32xo-eb0+PtEb=+BpQ@mail.gmail.com>
	<7f798f51-05c4-304a-f852-9cea35f5f095@2ndquadrant.com>
	<10573.1521483633@sss.pgh.pa.us>
	<20180319182705.kq2vqno7arl7r2uj@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> On 2018-03-19 14:20:33 -0400, Tom Lane wrote:
>> I tried -O3 with gcc 7.3.1 (Fedora 26), and that passes check-world
>> just fine.  Then I tried -O3 with gcc 8.0.1 (prerelease Fedora 28),
>> and indeed that's got some problems.

>> Note that 1-D and 2-D arrays print fine, it's only 3-D or deeper
>> that print wrong.  Very odd.  Maybe it's bad code on our part,
>> but I think the odds are at least as good that it's a new gcc bug.

> Might be worth trying with a new clang, I think it's been a bit ahead on
> the quality of the ubsan (et al) integration quality.

I'm not talking about ubsan, I'm just talking about whether our regression
tests pass with the higher -O level.

			regards, tom lane




view thread (20+ messages)  latest in thread

Message-ID: <11474.1521484883@sss.pgh.pa.us>
Permalink:  ../11474.1521484883@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11474.1521484883@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, tomas.vondra@2ndquadrant.com, marxin.liska@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #15121: Multiple UBSAN errors
  In-Reply-To: <11474.1521484883@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox