diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-03-02 17:18:06 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-03-02 17:18:06 +0100 |
commit | e3a72bc5dba4df94f74e6c49849e7b1b0c45ac11 (patch) | |
tree | baa8314d0471a4c398debde8b04a2162b5314c5d | |
parent | 2da182252dda7b754ffedfb0aed836b56bde0172 (diff) | |
download | gcc-e3a72bc5dba4df94f74e6c49849e7b1b0c45ac11.zip gcc-e3a72bc5dba4df94f74e6c49849e7b1b0c45ac11.tar.gz gcc-e3a72bc5dba4df94f74e6c49849e7b1b0c45ac11.tar.bz2 |
re PR target/56540 (No __SIZEOF__XXX__ macro for __float128)
PR target/56540
* config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Predefine
__SIZEOF_128__ macro if HPUX_LONG_DOUBLE_LIBRARY.
From-SVN: r258139
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/pa/pa.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5269f93..a2263ed 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,10 @@ 2018-03-02 Jakub Jelinek <jakub@redhat.com> PR target/56540 + * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Predefine + __SIZEOF_128__ macro if HPUX_LONG_DOUBLE_LIBRARY. + + PR target/56540 * config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Predefine __SIZEOF_{FPREG,FLOAT{80,128}}__ macros. diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 7e5542b..8717ae6 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -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. */ |