Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > b5e52bbfb4bb11a6cbed452927fba979 > files > 40

gcc-4.1.2-50.el5.src.rpm

2006-07-27  H.J. Lu  <hongjiu.lu@intel.com>

	PR driver/28437
	* opts-common.c (prune_options): Skip joined switches.

--- gcc/opts-common.c	(revision 115779)
+++ gcc/opts-common.c	(revision 115780)
@@ -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))