diff options
author | Noah Misch <noah@leadboat.com> | 2015-07-29 22:49:48 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2015-07-29 22:54:03 -0400 |
commit | d20327a4fdc13ca4a1ce25c91ceaf43927b6dc3c (patch) | |
tree | 80345136070edaf9395af4f6d8435329ca37b498 | |
parent | adf0072ab8ae283ab26793f0cd8acb5685910b3c (diff) |
Blacklist xlc 32-bit inlining.
Per a suggestion from Tom Lane. Back-patch to 9.0 (all supported
versions). While only 9.4 and up have code known to elicit this
compiler bug, we were disabling inlining by accident until commit
43d89a23d59c487bc9258fad7a6187864cb8c0c0.
-rw-r--r-- | config/test_quiet_include.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/test_quiet_include.h b/config/test_quiet_include.h index eb0515ede78..f059e1c2913 100644 --- a/config/test_quiet_include.h +++ b/config/test_quiet_include.h @@ -3,3 +3,12 @@ * of the PGAC_C_INLINE macro in config/c-compiler.m4. */ static inline int fun () { return 0; } + +/* + * "IBM XL C/C++ for AIX, V12.1" miscompiles, for 32-bit, some inline + * expansions of ginCompareItemPointers() "long long" arithmetic. To take + * advantage of inlining, build a 64-bit PostgreSQL. + */ +#if defined(__ILP32__) && defined(__IBMC__) +#error "known inlining bug" +#endif |