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]

Patch to bypass some fixincludes on i386-pc-solaris2.10.1


Some fixincludes bypasses for Solaris 10 only matches *-*-solaris2.1[0-9] 
not *-*-solaris2.1[0-9]*, causing stdio.h to be unnecessarily fixed on 
i386-pc-solaris2.10.1.  This patch fixes this.  Bootstrapped with no 
regressions on i386-pc-solaris2.10.1.  OK to commit to mainline and 4.0 
branch?  I've applied a corresponding patch to csl-sol210-3_4-branch.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)

2005-05-09  Joseph S. Myers  <joseph@codesourcery.com>

	* inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
	*-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
	* fixincl.x: Regenerate.

diff -rupN fixincludes.orig/inclhack.def fixincludes/inclhack.def
--- fixincludes.orig/inclhack.def	2005-05-07 19:00:01.000000000 +0000
+++ fixincludes/inclhack.def	2005-05-07 19:01:29.000000000 +0000
@@ -2715,7 +2715,7 @@ fix = {
      * On Solaris 10, this fix is unncessary; <stdio.h> includes
      * <iso/stdio_iso.h>, which includes <sys/va_list.h>.
       */
-    mach     = '*-*-solaris2.1[0-9]';
+    mach     = '*-*-solaris2.1[0-9]*';
     not_machine = true;
 
     c_fix     = wrap;
@@ -2747,7 +2747,7 @@ fix = {
      * <stdio.h> is guarded appropriately by the _XPG4 feature macro; 
      * there is therefore no need for this fix there.
      */
-    mach = '*-*-solaris2.1[0-9]';
+    mach = '*-*-solaris2.1[0-9]*';
     not_machine = true;
 
     /*


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