Stop gap fix for __attribute__((cold)) compiler bug in MinGW 8.1
authorDavid Rowley <drowley@postgresql.org>
Wed, 25 Nov 2020 03:33:43 +0000 (16:33 +1300)
committerDavid Rowley <drowley@postgresql.org>
Wed, 25 Nov 2020 03:33:43 +0000 (16:33 +1300)
commit687f6163447514c23b44a981540987013529a9ec
tree4b0d49e46954c1653cc72c1f0ba2546a4f77d072
parent7b94e999606e2e2e10d68d544d49fc5a5d5785ac
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
src/include/c.h