Hi! Similarly to the ia64 patch, on hppa __float128 seems to be conditionally provided (guarded with HPUX_LONG_DOUBLE_LIBRARY), so this patch also conditionally predefines __SIZEOF_FLOAT128__.
Ok for trunk? 2018-03-02 Jakub Jelinek <ja...@redhat.com> PR target/56540 * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Predefine __SIZEOF_128__ macro if HPUX_LONG_DOUBLE_LIBRARY. --- gcc/config/pa/pa.h.jj 2018-01-17 11:54:19.035804335 +0100 +++ gcc/config/pa/pa.h 2018-03-02 15:34:11.080879742 +0100 @@ -177,6 +177,8 @@ do { \ builtin_define("_PA_RISC1_1"); \ else \ builtin_define("_PA_RISC1_0"); \ + if (HPUX_LONG_DOUBLE_LIBRARY) \ + builtin_define("__SIZEOF_FLOAT128__=16"); \ } while (0) /* An old set of OS defines for various BSD-like systems. */ Jakub