This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, committed] __LONGDOUBLE128 for AIX


	AIX uses the macro __LONGDOUBLE128 as a guard.

David


	* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
	__LONGDOUBLE128 on AIX.

Index: rs6000-c.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000-c.c,v
retrieving revision 1.12
diff -c -p -r1.12 rs6000-c.c
*** rs6000-c.c	23 Feb 2004 17:02:51 -0000	1.12
--- rs6000-c.c	10 Mar 2004 18:11:59 -0000
*************** rs6000_cpu_cpp_builtins (cpp_reader *pfi
*** 113,119 ****
    RS6000_CPU_CPP_ENDIAN_BUILTINS();
  
    if (TARGET_LONG_DOUBLE_128)
!     builtin_define ("__LONG_DOUBLE_128__");
  
    switch (rs6000_current_abi)
      {
--- 113,123 ----
    RS6000_CPU_CPP_ENDIAN_BUILTINS();
  
    if (TARGET_LONG_DOUBLE_128)
!     {
!       builtin_define ("__LONG_DOUBLE_128__");
!       if (TARGET_AIX && TARGET_XCOFF)
! 	builtin_define ("__LONGDOUBLE128");
!     }
  
    switch (rs6000_current_abi)
      {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]