summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-16 22:45:49 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-07-16 22:45:49 +0000
commita8472d0792df393e798fa72e9b004270f447ee75 (patch)
tree0bb7995b11aea954f8c87574b62c9790e7001310
parent5561779e5d27b1f02d0c71d717b25bfe89304dfb (diff)
downloadgcc-a8472d0792df393e798fa72e9b004270f447ee75.tar.gz
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
-rw-r--r--gcc/gcc.c2
1 files changed, 1 insertions, 1 deletions
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;