diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-02-28 02:37:38 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-02-28 02:37:38 +0000 |
commit | 95456d436865ead3141e1ecf5270479a186f0f42 (patch) | |
tree | 18a7fc18bebeb18ae909055a691abc0af7a4c85c /gcc/gcc.c | |
parent | 28ae9fed6bdfbe4a59f34083f22f40ff3f2af1bf (diff) | |
download | gcc-95456d436865ead3141e1ecf5270479a186f0f42.zip gcc-95456d436865ead3141e1ecf5270479a186f0f42.tar.gz gcc-95456d436865ead3141e1ecf5270479a186f0f42.tar.bz2 |
gcc.c (do_spec_1): Treat %U like %u for unique associations.
* gcc.c (do_spec_1): Treat %U like %u for unique associations.
Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r63542
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4706,7 +4706,7 @@ do_spec_1 (spec, inswitch, soft_matched_part) for (t = temp_names; t; t = t->next) if (t->length == suffix_length && strncmp (t->suffix, suffix, suffix_length) == 0 - && t->unique == (c == 'u' || c == 'j')) + && t->unique == (c == 'u' || c == 'U' || c == 'j')) break; /* Make a new association if needed. %u and %j @@ -4727,7 +4727,7 @@ do_spec_1 (spec, inswitch, soft_matched_part) } else t->suffix = save_string (suffix, suffix_length); - t->unique = (c == 'u' || c == 'j'); + t->unique = (c == 'u' || c == 'U' || c == 'j'); temp_filename = make_temp_file (t->suffix); temp_filename_length = strlen (temp_filename); t->filename = temp_filename; |