aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-03-02 17:18:06 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2018-03-02 17:18:06 +0100
commite3a72bc5dba4df94f74e6c49849e7b1b0c45ac11 (patch)
treebaa8314d0471a4c398debde8b04a2162b5314c5d /gcc/config/pa/pa.h
parent2da182252dda7b754ffedfb0aed836b56bde0172 (diff)
downloadgcc-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
Diffstat (limited to 'gcc/config/pa/pa.h')
-rw-r--r--gcc/config/pa/pa.h2
1 files changed, 2 insertions, 0 deletions
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. */