* gcc.c (handle_braces): Handle %{<S*} spec correctly.
authorTom Tromey <tromey@redhat.com>
Wed, 13 Dec 2000 23:09:33 +0000 (23:09 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 13 Dec 2000 23:09:33 +0000 (23:09 +0000)
From-SVN: r38238

gcc/ChangeLog
gcc/gcc.c

index b3051b6df24d861933b37a948aa93d87f75c8925..7e5a8227abf0880d6f699583a71b043298685e3c 100644 (file)
@@ -1,3 +1,7 @@
+2000-12-13  Tom Tromey  <tromey@redhat.com>
+
+       * gcc.c (handle_braces): Handle %{<S*} spec correctly.
+
 2000-12-13  Alexandre Oliva  <aoliva@redhat.com>
 
        * function.c (assign_parms): Optimize incoming PARALLELs into
index d3066b95e73f22a25a72aa285544a23b8400e87a..2bf0263cf71a2aabe6faa0ef9127496567a2c05a 100644 (file)
--- 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
     {