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]

New CPP builtins for d30v


I've applied this as obvious.

Neil.

	* d30v.h (CPP_PREDEFINES): Replace with
	(TARGET_CPU_CPP_BUILTINS): New.

Index: config/d30v/d30v.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/d30v/d30v.h,v
retrieving revision 1.58
diff -u -p -r1.58 d30v.h
--- config/d30v/d30v.h	19 May 2002 05:23:06 -0000	1.58
+++ config/d30v/d30v.h	2 Jun 2002 14:10:19 -0000
@@ -79,7 +79,13 @@
 
 /* Run-time target specifications */
 
-#define CPP_PREDEFINES "-D__D30V__ -Amachine=d30v"
+#define TARGET_CPU_CPP_BUILTINS()		\
+  do						\
+    {						\
+      builtin_define ("__D30V__");		\
+      builtin_assert ("machine=d30v");		\
+    }						\
+  while (0)
 
 /* This declaration should be present.  */
 extern int target_flags;


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