Skip to content
Snippets Groups Projects
Commit 0a89f3bc authored by Noah Misch's avatar Noah Misch
Browse files

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
43d89a23.
parent 263f2259
No related branches found
No related tags found
No related merge requests found
...@@ -3,3 +3,12 @@ ...@@ -3,3 +3,12 @@
* of the PGAC_C_INLINE macro in config/c-compiler.m4. * of the PGAC_C_INLINE macro in config/c-compiler.m4.
*/ */
static inline int fun () { return 0; } 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment