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]

Corrections to GNU/Linux libstdc++-v3 os_defines.h for PowerPC


	The PowerPC GNU/Linux port does not uniformly define long double as
128 bits, it is runtime configurable and sets a macro which can be tested.

David


Index: os_defines.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/config/os/gnu-linux/bits/os_defines.h,v
retrieving revision 1.14
diff -c -p -r1.14 os_defines.h
*** os_defines.h	2001/08/23 22:49:20	1.14
--- os_defines.h	2001/08/23 23:00:56
*************** typedef __loff_t __off64_t;
*** 71,77 ****
  #define __glibcpp_long_bits 64
  #endif
  
! #if defined (__alpha__) || defined (__powerpc64__) || defined (__s390__)
  #define __glibcpp_long_double_bits 64
  #endif
  
--- 71,77 ----
  #define __glibcpp_long_bits 64
  #endif
  
! #if defined (__alpha__) || (defined (__powerpc__) && !defined (__LONG_DOUBLE_128__)) || defined (__s390__)
  #define __glibcpp_long_double_bits 64
  #endif
  


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