Patch for bug c/16684

Alexander Kabaev kan@freebsd.org
Fri Jul 23 17:49:00 GMT 2004


Attached patch changes ia64 config bits to recognise SUBTARGET_EXTRA_SPECS
the same way most other platforms do. FreeBSD depends on this. The patch
is against gcc 3.4 branch.

It would be nice if someone with write-access to FSF repository reviewed
it and applied if the patch is deemed appropriate.

2004-07-21  Alexander Kabaev <kan@FreeBSD.ORG>                                  
        * config/ia64/ia64.h: Allow SUBTARGET_EXTRA_SPECS use.                  

Index: config/ia64/ia64.h
===================================================================
RCS file: /usr/download/ncvs/src/contrib/gcc/config/ia64/ia64.h,v
retrieving revision 1.1.1.5
diff -u -r1.1.1.5 ia64.h
--- config/ia64/ia64.h	20 Mar 2004 04:06:08 -0000	1.1.1.5
+++ config/ia64/ia64.h	13 Jul 2004 16:33:01 -0000
@@ -43,8 +43,13 @@
 	  builtin_define("__BIG_ENDIAN__");	\
 } while (0)
 
+#ifndef SUBTARGET_EXTRA_SPECS
+#define SUBTARGET_EXTRA_SPECS
+#endif
+
 #define EXTRA_SPECS \
-  { "asm_extra", ASM_EXTRA_SPEC },
+  { "asm_extra", ASM_EXTRA_SPEC }, \
+  SUBTARGET_EXTRA_SPECS
 
 #define CC1_SPEC "%(cc1_cpu) "
 



More information about the Gcc-patches mailing list