Skip to content

Commit 2d8c136

Browse files
committed
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 43d89a2.
1 parent 208e41d commit 2d8c136

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

config/test_quiet_include.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,12 @@
33
* of the PGAC_C_INLINE macro in config/c-compiler.m4.
44
*/
55
static inline int fun () { return 0; }
6+
7+
/*
8+
* "IBM XL C/C++ for AIX, V12.1" miscompiles, for 32-bit, some inline
9+
* expansions of ginCompareItemPointers() "long long" arithmetic. To take
10+
* advantage of inlining, build a 64-bit PostgreSQL.
11+
*/
12+
#if defined(__ILP32__) && defined(__IBMC__)
13+
#error "known inlining bug"
14+
#endif

0 commit comments

Comments
 (0)