Commit 1ccb8f57 by Nick Clifton Committed by Jeff Law

gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have a suffix.

8
	* gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have
	a suffix.

From-SVN: r21229
parent 4249dc2b
......@@ -3653,7 +3653,7 @@ do_spec_1 (spec, inswitch, soft_matched_part)
t->length = p - suffix;
t->suffix = save_string (suffix, p - suffix);
t->unique = (c != 'g');
temp_filename = make_temp_file (suffix);
temp_filename = make_temp_file (t->suffix);
}
temp_filename_length = strlen (temp_filename);
t->filename = temp_filename;
......
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