From: Roger Sayle Date: Sun, 21 Dec 2003 23:23:54 +0000 (+0000) Subject: hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32 when compiling in ILP32 mode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24b7a8c944f4642d658e367eb39de7f1d453131d;p=gcc.git hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32 when compiling in ILP32 mode. * config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32 when compiling in ILP32 mode. From-SVN: r74918 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e5480de0c25..cc719b383f0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-12-21 Roger Sayle + + * config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32 + when compiling in ILP32 mode. + 2003-12-21 Andrew Pinski * config/rs6000/rs6000.c (rs6000_tls_referenced_p): Return early if diff --git a/gcc/config/ia64/hpux.h b/gcc/config/ia64/hpux.h index 7ed5f605590..1bd02c35d73 100644 --- a/gcc/config/ia64/hpux.h +++ b/gcc/config/ia64/hpux.h @@ -45,6 +45,8 @@ do { \ builtin_define("_HPUX_SOURCE"); \ builtin_define("__STDC_EXT__"); \ } \ + if (TARGET_ILP32) \ + builtin_define("_ILP32"); \ } while (0) #undef CPP_SPEC