]> granicus.if.org Git - postgresql/commit
Remove unnecessary local variables to work around an icc optimization bug.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Jan 2014 17:59:55 +0000 (12:59 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Jan 2014 17:59:55 +0000 (12:59 -0500)
commitfaab7a957d31389f4abfd83784f622c91d076f49
tree4cd9eb6420d28a210c456de4fa2039ea828ff17d
parent192b4aacad45c16a8a9341644479125977366dab
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.
src/backend/utils/adt/orderedsetaggs.c