2011-11-26 Magnus Granberg pr48524 * gcc/gcc.c Support switches with separated form like -D/-U --- a/gcc/gcc.c 2011-11-26 17:56:36.130306763 +0100 +++ b/gcc/gcc.c 2011-11-26 17:55:22.854304581 +0100 @@ -5470,6 +5470,19 @@ && check_live_switch (i, plen)) return true; + else if (switches[i].args != 0) + { + if ((*switches[i].part1 == 'D' || *switches[i].part1 == 'U') + && *switches[i].part1 == atom[0]) + { + if (!strncmp (switches[i].args[0], &atom[1], len -1) + && (starred || (switches[i].part1[1]== '\0' + && switches[i].args[0][len -1] == '\0')) + && check_live_switch (i, (starred ? 1 : -1))) + return true; + } + } + return false; }