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] fix quoting braces in RUNTESTFLAGS in install.texi


The brace expansion example in install.texi is improperly quoted, and
gets eaten by the make/shell, fixed thus by using backslashes.

Also removed an extra '/' in the first example which produces
inconsistent output (though it works):

Schedule of variations:
    arm-sim//-mhard-float/-O1
    arm-sim//-mhard-float/-O2
    ...

Tested by inspecting "make info pdf html" output.
Please commit this patch for me.


Index: gcc44/gcc/doc/install.texi
===================================================================
--- gcc44.orig/gcc/doc/install.texi
+++ gcc44/gcc/doc/install.texi
@@ -2070,7 +2070,7 @@ You can run the testsuites multiple time
 with a syntax similar to the brace expansion of popular shells:
 
 @smallexample
-    @dots{}"--target_board=arm-sim/@{-mhard-float,-msoft-float@}@{-O1,-O2,-O3,@}"
+    @dots{}"--target_board=arm-sim\@{-mhard-float,-msoft-float\@}\@{-O1,-O2,-O3,\@}"
 @end smallexample
 
 (Note the empty option caused by the trailing comma in the final group.)
@@ -2092,7 +2092,7 @@ They can be combined as many times as yo
 list:
 
 @smallexample
-    @dots{}"--target_board=unix/-Wextra@{-O3,-fno-strength-reduce@}@{-fomit-frame-pointer,@}"
+    @dots{}"--target_board=unix/-Wextra\@{-O3,-fno-strength-reduce\@}\@{-fomit-frame-pointer,\@}"
 @end smallexample
 
 will generate four combinations, all involving @samp{-Wextra}.


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