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]

Typo (?) in gcc/config/float-sparc.h


This prevents libstdc++-v3 from building on sparc-unknown-linux-gnu.
DBLX_MAX was nowhere to be found, and all the other LDBL_* definitions
pertaining to sparc32 refer to their DBL_* counterparts, so it's
probably a typo.  Ok to install?

Index: gcc/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>
	* config/float-sparc.h (LDBL_MAX) [sparc32]: Fix typo.

Index: gcc/config/float-sparc.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/float-sparc.h,v
retrieving revision 1.3
diff -u -p -r1.3 float-sparc.h
--- gcc/config/float-sparc.h 1999/12/14 12:53:39 1.3
+++ gcc/config/float-sparc.h 2001/01/31 07:49:25
@@ -113,7 +113,7 @@
 #undef LDBL_MAX_EXP
 #define LDBL_MAX_EXP DBL_MAX_EXP
 #undef LDBL_MAX
-#define LDBL_MAX DBLX_MAX
+#define LDBL_MAX DBL_MAX
 #undef LDBL_MAX_10_EXP
 #define LDBL_MAX_10_EXP DBL_MAX_10_EXP
 

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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