pgsql: Remove unnecessary local variables to work around an icc optimiz

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove unnecessary local variables to work around an icc optimiz
Date: 2014-01-09 18:00:05
Message-ID: E1W1Jtl-0000rr-70@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unnecessary local variables to work around an icc optimization bug.

Buildfarm member dunlin has been crashing since commit 8b49a60, but other
machines seem fine with that code. It turns out that removing the local
variables in ordered_set_startup() that are copies of fields in "qstate"
dodges the problem. This might cost a few cycles on register-rich
machines, but it's probably a wash on others, and in any case this code
isn't performance-critical. Thanks to Jeremy Drake for off-list
investigation.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/faab7a957d31389f4abfd83784f622c91d076f49

Modified Files
--------------
src/backend/utils/adt/orderedsetaggs.c | 40 ++++++++++++--------------------
1 file changed, 15 insertions(+), 25 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2014-01-10 21:02:02 Re: [COMMITTERS] pgsql: Upgrade to Autoconf 2.69
Previous Message Michael Meskes 2014-01-09 15:20:29 pgsql: Changed regression test to ecpg test suite for alignment problem