From a8472d0792df393e798fa72e9b004270f447ee75 Mon Sep 17 00:00:00 2001 From: law Date: Thu, 16 Jul 1998 22:45:49 +0000 Subject: 8 * gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have a suffix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21229 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/gcc.c b/gcc/gcc.c index 90da0f010d5..da3bdc5bf45 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -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; -- cgit v1.2.1