Commit 769da818 by Geoffrey Keating Committed by Geoffrey Keating

gimplify.c (create_tmp_var_raw): Don't name otherwise-nameless temporary variables.

	* gimplify.c (create_tmp_var_raw): Don't name otherwise-nameless
	temporary variables.

From-SVN: r87335
parent ca024c87
...@@ -33,6 +33,9 @@ ...@@ -33,6 +33,9 @@
2004-09-10 Geoffrey Keating <geoffk@apple.com> 2004-09-10 Geoffrey Keating <geoffk@apple.com>
* gimplify.c (create_tmp_var_raw): Don't name otherwise-nameless
temporary variables.
* dbxout.c (dbxout_block): Update for * dbxout.c (dbxout_block): Update for
current_function_func_begin_label a string. current_function_func_begin_label a string.
* dwarf2out.c (dwarf2out_begin_prologue): Likewise. * dwarf2out.c (dwarf2out_begin_prologue): Likewise.
......
...@@ -326,7 +326,8 @@ create_tmp_var_raw (tree type, const char *prefix) ...@@ -326,7 +326,8 @@ create_tmp_var_raw (tree type, const char *prefix)
new_type = build_type_variant (type, 0, 0); new_type = build_type_variant (type, 0, 0);
TYPE_ATTRIBUTES (new_type) = TYPE_ATTRIBUTES (type); TYPE_ATTRIBUTES (new_type) = TYPE_ATTRIBUTES (type);
tmp_var = build_decl (VAR_DECL, create_tmp_var_name (prefix), type); tmp_var = build_decl (VAR_DECL, prefix ? create_tmp_var_name (prefix) : NULL,
type);
/* The variable was declared by the compiler. */ /* The variable was declared by the compiler. */
DECL_ARTIFICIAL (tmp_var) = 1; DECL_ARTIFICIAL (tmp_var) = 1;
......
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