Skip to content

Commit

Permalink
Blacklist xlc 32-bit inlining.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nmisch committed Jul 30, 2015
1 parent 0f272b8 commit 76cf5f1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/test_quiet_include.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ 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 comments on commit 76cf5f1

Please sign in to comment.