Commit 95456d43 by Roger Sayle Committed by Roger Sayle

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
parent 28ae9fed
2003-02-27 Roger Sayle <roger@eyesopen.com>
Zack Weinberg <zack@codesourcery.com>
* gcc.c (do_spec_1): Treat %U like %u for unique associations.
2003-02-27 Kazu Hirata <kazu@cs.umass.edu>
* reload1.c (sext_for_mode): Remove.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment