pgsql: Stop gap fix for __attribute__((cold)) compiler bug in MinGW 8.1

From: David Rowley <drowley(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Stop gap fix for __attribute__((cold)) compiler bug in MinGW 8.1
Date: 2020-11-25 03:34:50
Message-ID: E1khlZy-0007V8-7G@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Stop gap fix for __attribute__((cold)) compiler bug in MinGW 8.1

The buildfarm animal walleye, running MinGW 8.1 has been having problems
ever since 697e1d02f and 913ec71d6 went in. This appears to be a bug in
assembler which was fixed in a later version.

For now, in order to get that animal running green again, let's just
define pg_attribute_cold and pg_attribute_hot to be empty macros on that
compiler. Hopefully, we can get the support of the owner of the animal to
upgrade to a less buggy compiler and revert this at a later date.

Discussion: https://postgr.es/m/286560.1606233316@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/687f6163447514c23b44a981540987013529a9ec

Modified Files
--------------
src/include/c.h | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2020-11-25 04:00:57 pgsql: Remove obsolete comment atop ri_PlanCheck.
Previous Message Michael Paquier 2020-11-25 03:19:14 pgsql: Remove catalog function currtid()