diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-03-02 17:17:18 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-03-02 17:17:18 +0100 |
commit | 2da182252dda7b754ffedfb0aed836b56bde0172 (patch) | |
tree | 55f13568fb1eccdb5ea622f3dd927553ddbc13e5 /gcc/config/ia64 | |
parent | b31b60537e67e64a037b8a75a7d027e0a93efe28 (diff) | |
download | gcc-2da182252dda7b754ffedfb0aed836b56bde0172.tar.gz |
re PR target/56540 (No __SIZEOF__XXX__ macro for __float128)
PR target/56540
* config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Predefine
__SIZEOF_{FPREG,FLOAT{80,128}}__ macros.
* gcc.target/ia64/pr56540.c: New test.
From-SVN: r258138
Diffstat (limited to 'gcc/config/ia64')
-rw-r--r-- | gcc/config/ia64/ia64.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index 384bfe6bf01..6ecc15510e3 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -38,6 +38,9 @@ do { \ builtin_define("__itanium__"); \ if (TARGET_BIG_ENDIAN) \ builtin_define("__BIG_ENDIAN__"); \ + builtin_define("__SIZEOF_FPREG__=16"); \ + builtin_define("__SIZEOF_FLOAT80__=16");\ + builtin_define("__SIZEOF_FLOAT128__=16");\ } while (0) #ifndef SUBTARGET_EXTRA_SPECS |