]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2011-05-17 Tristan Gingold <gingold@adacore.com>
authorgingold <gingold@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 May 2011 08:00:15 +0000 (08:00 +0000)
committergingold <gingold@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 May 2011 08:00:15 +0000 (08:00 +0000)
* inclhack.def (solaris_complex_cxx): Fix syntax.
* fixincl.x: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173818 138bc75d-0d04-0410-961f-82ee72b054a4

fixincludes/ChangeLog
fixincludes/fixincl.x
fixincludes/inclhack.def

index aba71a8c1d7ecbb31e557a761a313b7785cbb8f9..4a5e1660db9a5a3b6a88e057c34693f09e088512 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-17  Tristan Gingold  <gingold@adacore.com>
+
+       * inclhack.def (solaris_complex_cxx): Fix syntax.
+       * fixincl.x: Regenerate.
+
 2011-05-17  Tristan Gingold  <gingold@adacore.com>
 
        * check.tpl: Shell-quote testing file.
index d9117d8e3fd5bf8575b38beb286c3a0fab1c3eae..d9d6f6bfed114fadc5b0073d134d74df4fd22c21 100644 (file)
@@ -2,11 +2,11 @@
  * 
  * DO NOT EDIT THIS FILE   (fixincl.x)
  * 
- * It has been AutoGen-ed  Monday November  8, 2010 at 08:33:47 PM MET
+ * It has been AutoGen-ed  May 16, 2011 at 02:55:35 PM by AutoGen 5.11.1
  * From the definitions    inclhack.def
  * and the template file   fixincl
  */
-/* DO NOT SVN-MERGE THIS FILE, EITHER Mon Nov  8 20:33:47 MET 2010
+/* DO NOT SVN-MERGE THIS FILE, EITHER Mon May 16 14:55:35 CEST 2011
  *
  * You must regenerate it.  Use the ./genfixes script.
  *
@@ -6256,10 +6256,12 @@ tSCC* apzSolaris_Complex_CxxMachs[] = {
  *  Fix Command Arguments for Solaris_Complex_Cxx
  */
 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
-    "-e", "/#if[ \t]*!defined(__cplusplus)/c#ifdef\t__cplusplus\\\n\
+    "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
+#ifdef\t__cplusplus\\\n\
 extern \"C\" {\\\n\
 #endif",
-    "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c#ifdef\t__cplusplus\\\n\
+    "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
+#ifdef\t__cplusplus\\\n\
 }\\\n\
 #endif",
     (char*)NULL };
index ac8f795834b13a3e210c44f10eb42d9ff51b10d2..a20ab9d79a5b4ed7a0e9b39a7b830343e0ee3994 100644 (file)
@@ -3315,9 +3315,9 @@ fix = {
     hackname  = solaris_complex_cxx;
     mach      = "*-*-solaris2.*";
     files     = complex.h;
-    sed              = "/#if[ \t]*!defined(__cplusplus)/c"
+    sed              = "/#if[ \t]*!defined(__cplusplus)/c\\\n"
                "#ifdef\t__cplusplus\\\nextern \"C\" {\\\n#endif";
-    sed              = "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c"
+    sed              = "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n"
                "#ifdef\t__cplusplus\\\n}\\\n#endif";
     test_text = "#if !defined(__cplusplus)\n"
                "#endif /* !defined(__cplusplus) */";