2006-07-27 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Jul 2006 21:26:55 +0000 (21:26 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Jul 2006 21:26:55 +0000 (21:26 +0000)
PR driver/28437
* opts-common.c (prune_options): Skip joined switches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115780 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/opts-common.c

index c5c0d6f..8849b98 100644 (file)
@@ -1,3 +1,8 @@
+2006-07-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR driver/28437
+       * opts-common.c (prune_options): Skip joined switches.
+
 2006-07-27  Jan Hubicka  <jh@suse.cz>
 
        PR rtl-optimization/28071
index f3f6542..958e667 100644 (file)
@@ -175,6 +175,10 @@ cont:
       if (option->neg_index < 0)
        goto cont;
 
+      /* Skip joined switches.  */
+      if ((option->flags & CL_JOINED))
+       goto cont;
+
       /* Reject negative form of switches that don't take negatives as
         unrecognized.  */
       if (!value && (option->flags & CL_REJECT_NEGATIVE))