Commit f645e2bd by Richard Sandiford Committed by Richard Sandiford

* gcc.c (used_arg): Check whether an option has been removed.

From-SVN: r80787
parent 04db08db
2004-04-17 Richard Sandiford <rsandifo@redhat.com>
* gcc.c (used_arg): Check whether an option has been removed.
2004-04-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* config.gcc (i[34567]86-*-solaris2*): Default to DWARF-2
......
......@@ -6909,6 +6909,7 @@ used_arg (const char *p, int len)
= xmalloc (sizeof (struct mswitchstr)
* (n_mdswitches + (n_switches ? n_switches : 1)));
for (i = 0; i < n_switches; i++)
if (switches[i].live_cond != SWITCH_IGNORE)
{
int xlen = strlen (switches[i].part1);
for (j = 0; j < cnt; j++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment