diff options
author | Geoffrey Keating <geoffk@apple.com> | 2004-09-11 00:25:00 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2004-09-11 00:25:00 +0000 |
commit | 769da81848f28f866058a4913f68cdaea431e7e5 (patch) | |
tree | 693af76a4b172e1dece074a497481e6619870de1 /gcc/gimplify.c | |
parent | ca024c876edc7ce7cebab98a8681a7c39339e1b8 (diff) | |
download | gcc-769da81848f28f866058a4913f68cdaea431e7e5.zip gcc-769da81848f28f866058a4913f68cdaea431e7e5.tar.gz gcc-769da81848f28f866058a4913f68cdaea431e7e5.tar.bz2 |
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
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index c657f6a..640e3b0 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -326,7 +326,8 @@ create_tmp_var_raw (tree type, const char *prefix) new_type = build_type_variant (type, 0, 0); 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. */ DECL_ARTIFICIAL (tmp_var) = 1; |