Re: Interval aggregate regression failure (expected seems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Paesold <mpaesold(at)gmx(dot)at>
Cc: Michael Glaesemann <grzm(at)myrealbox(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Interval aggregate regression failure (expected seems
Date: 2005-11-07 14:31:46
Message-ID: 18183.1131373906@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Michael Paesold <mpaesold(at)gmx(dot)at> writes:
> I have tested these combination of CFLAGS:
> -O2 OK
> -O2 -mcpu=i686 -march=i686 OK (good, RPMS are built with these)
> -O2 -mcpu=pentium4 -march=i686 OK
> -O2 -mcpu=pentium4 -march=pentium4 fails

> I am definatly not going to use -march=pentium4 in any production
> system. Should I open a bug report with RedHat (gcc vendor)?

Yeah, but they'll probably want a smaller test case than "Postgres fails
its regression tests" :-(

My guess is that the problem is misoptimization of the interval_div()
function (look in utils/adt/timestamp.c), and that you could probably
construct a nice small test case for them out of that function.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-11-07 14:37:49 Re: Getting table name/tuple from OID
Previous Message Tino Wildenhain 2005-11-07 14:03:02 Re: Getting table name/tuple from OID

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2005-11-07 16:21:17 Re: return can contains any row or record functions
Previous Message Pavel Stehule 2005-11-07 13:58:16 return can contains any row or record functions