https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68695
--- Comment #15 from Dominik Vogt <vogt at linux dot vnet.ibm.com> --- Providing that macro does fix the problem: #define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE) \ if (GET_MODE_CLASS (MODE) == MODE_INT \ && GET_MODE_SIZE (MODE) < (TARGET_ZARCH ? 8 : 4)) \ (MODE) = TARGET_ZARCH ? DImode : SImode; But is it a good idea to define it in the first place? And is it now required to provide a sensible implementation of PROMOTE_MODE?