projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117dca7
)
* opts.sh: Quote '+' in regex.
author
Neil Booth
<neil@daikokuya.co.uk>
Sun, 15 Jun 2003 19:21:48 +0000
(19:21 +0000)
committer
Neil Booth
<neil@gcc.gnu.org>
Sun, 15 Jun 2003 19:21:48 +0000
(19:21 +0000)
From-SVN: r67983
gcc/ChangeLog
patch
|
blob
|
history
gcc/opts.sh
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 187c118918e72bdbce757f2aea38465cf37a89d1..564d2a7730487fd99bfabf4ee93a4d1d4cf991d0 100644
(file)
--- 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 0816931c4cbb79c49d1acd9df91b0f17a146e082..84f2c62b079a4a223f071a8bf98b9be1751f3f59 100644
(file)
--- 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]
}