aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-06-15 19:21:48 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-06-15 19:21:48 +0000
commit5641d6223e2c6657d20392e9807a930c8c6b4b07 (patch)
treee37ef470d4e962493d70142188c5d172dd406eae
parent117dca74cccf106fc6a47469428f3f7318aed1c7 (diff)
downloadgcc-5641d6223e2c6657d20392e9807a930c8c6b4b07.zip
gcc-5641d6223e2c6657d20392e9807a930c8c6b4b07.tar.gz
gcc-5641d6223e2c6657d20392e9807a930c8c6b4b07.tar.bz2
* opts.sh: Quote '+' in regex.
From-SVN: r67983
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/opts.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 187c118..564d2a7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-15 Neil Booth <neil@daikokuya.co.uk>
+
+ * opts.sh: Quote '+' in regex.
+
2003-06-15 Andrew Pinski <pinskia@physics.uc.edu>
* config/rs6000/t-rs6000: Add dependence of cfglayout.h to rs6000.o.
diff --git a/gcc/opts.sh b/gcc/opts.sh
index 0816931..84f2c62 100644
--- a/gcc/opts.sh
+++ b/gcc/opts.sh
@@ -49,7 +49,7 @@ ${AWK} '
result = "0"
for (j = 0; j < n_langs; j++) {
regex = " " langs[j] " "
- gsub ( "+", "\\+", regex )
+ gsub ( "\+", "\\+", regex )
if (flags ~ regex)
result = result " | " macros[j]
}