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]

[sh] add sh2a-single-only to libgcc_double_type_size test


Committed as obvious.

	* config/sh/sh.h (LIBGCC2_DOUBLE_TYPE_SIZE): Test
	__SH2A_SINGLE_ONLY__ also.

Index: config/sh/sh.h
===================================================================
--- config/sh/sh.h	(revision 146746)
+++ config/sh/sh.h	(working copy)
@@ -2615,13 +2615,13 @@ struct sh_args {
 #define FLOAT_TYPE_SIZE 32
 
 /* Since the SH2e has only `float' support, it is desirable to make all
    floating point types equivalent to `float'.  */
 #define DOUBLE_TYPE_SIZE ((TARGET_SH2E && ! TARGET_SH4 && ! TARGET_SH2A_DOUBLE) ? 32 : 64)
 
-#if defined(__SH2E__) || defined(__SH3E__) || defined( __SH4_SINGLE_ONLY__)
+#if defined(__SH2E__) || defined(__SH3E__) || defined( __SH2A_SINGLE_ONLY__) || defined( __SH4_SINGLE_ONLY__)
 #define LIBGCC2_DOUBLE_TYPE_SIZE 32
 #else
 #define LIBGCC2_DOUBLE_TYPE_SIZE 64
 #endif
 
 /* 'char' is signed by default.  */


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