aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>1998-07-16 16:45:49 -0600
committerJeff Law <law@gcc.gnu.org>1998-07-16 16:45:49 -0600
commit1ccb8f57d5258a26d493e9658edc0acae3bb545d (patch)
tree0bb7995b11aea954f8c87574b62c9790e7001310 /gcc/gcc.c
parent4249dc2be32f6d660049b8a1aa089902c8cc2186 (diff)
downloadgcc-1ccb8f57d5258a26d493e9658edc0acae3bb545d.zip
gcc-1ccb8f57d5258a26d493e9658edc0acae3bb545d.tar.gz
gcc-1ccb8f57d5258a26d493e9658edc0acae3bb545d.tar.bz2
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
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 90da0f0..da3bdc5 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;