OSDN Git Service

* gcc.c (handle_braces): Handle %{<S*} spec correctly.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Dec 2000 23:09:33 +0000 (23:09 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Dec 2000 23:09:33 +0000 (23:09 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38238 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c

index b3051b6..7e5a822 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 d3066b9..2bf0263 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
     {