From: Neil Booth Date: Sun, 15 Jun 2003 19:21:48 +0000 (+0000) Subject: * opts.sh: Quote '+' in regex. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5641d6223e2c6657d20392e9807a930c8c6b4b07;p=gcc.git * opts.sh: Quote '+' in regex. From-SVN: r67983 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 187c118918e..564d2a77304 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-06-15 Neil Booth + + * opts.sh: Quote '+' in regex. + 2003-06-15 Andrew Pinski * config/rs6000/t-rs6000: Add dependence of cfglayout.h to rs6000.o. diff --git a/gcc/opts.sh b/gcc/opts.sh index 0816931c4cb..84f2c62b079 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] }