aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2000-12-13 23:09:33 +0000
committerTom Tromey <tromey@gcc.gnu.org>2000-12-13 23:09:33 +0000
commit14dd240269839f64cab7bba99ac512b1ab2076c9 (patch)
tree153c56ca1135ab715493df3f779f8eafcd9da9f9 /gcc/gcc.c
parent3f27e3f86a86d69b43ed3572b979081e826b98bf (diff)
downloadgcc-14dd240269839f64cab7bba99ac512b1ab2076c9.zip
gcc-14dd240269839f64cab7bba99ac512b1ab2076c9.tar.gz
gcc-14dd240269839f64cab7bba99ac512b1ab2076c9.tar.bz2
* gcc.c (handle_braces): Handle %{<S*} spec correctly.
From-SVN: r38238
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index d3066b9..2bf0263 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -4820,7 +4820,15 @@ next_member:
for (i = 0; i < n_switches; i++)
if (!strncmp (switches[i].part1, filter, p - filter)
&& check_live_switch (i, p - filter))
- give_switch (i, 0, include_blanks);
+ {
+ if (elide_switch)
+ {
+ switches[i].live_cond = SWITCH_IGNORE;
+ switches[i].validated = 1;
+ }
+ else
+ give_switch (i, 0, include_blanks);
+ }
}
else
{