From: Nick Clifton Date: Thu, 16 Jul 1998 22:46:55 +0000 (-0600) Subject: gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have a suffix. X-Git-Tag: prereleases/egcs-1.1-prerelease~218 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22b7ac7856f73fff507d9e802503147ee6bc7d08;p=thirdparty%2Fgcc.git gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have a suffix. * gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have a suffix. From-SVN: r21231 --- diff --git a/gcc/gcc.c b/gcc/gcc.c index 18503859a427..847345d37cd7 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -3654,7 +3654,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;