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]

[committed] fix 64-bitness of literal16


Missed this in my commit before. Committed as obvious.

-eric

2006-09-09 Eric Christopher <echristo@apple.com>



PR target/28995

        * config/darwin.c (machopic_select_rtx_section): Add 		
	TARGET_64BIT for literal16.
Index: darwin.c
===================================================================
--- darwin.c	(revision 116807)
+++ darwin.c	(working copy)
@@ -1239,7 +1239,8 @@ machopic_select_rtx_section (enum machin
 	   && (GET_CODE (x) == CONST_INT
 	       || GET_CODE (x) == CONST_DOUBLE))
     return darwin_sections[literal4_section];
-  else if (GET_MODE_SIZE (mode) == 16
+  else if (TARGET_64BIT
+	   && GET_MODE_SIZE (mode) == 16
 	   && (GET_CODE (x) == CONST_INT
 	       || GET_CODE (x) == CONST_DOUBLE))
     return darwin_sections[literal16_section];

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