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
This commit is contained in:
Nick Clifton 1998-07-16 16:45:49 -06:00 committed by Jeff Law
parent 4249dc2be3
commit 1ccb8f57d5
1 changed files with 1 additions and 1 deletions

View File

@ -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;