aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-05-05 14:04:29 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2011-05-05 14:04:29 +0200
commitd0228c2eaeb942cf8359a2fd08265f935f52dd0a (patch)
tree9248ec53ac33470f04d9b2d15a87a88f255277f9 /gcc/gimplify.c
parent62ffa8afe465a824bc303c37994358115f478712 (diff)
downloadgcc-d0228c2eaeb942cf8359a2fd08265f935f52dd0a.zip
gcc-d0228c2eaeb942cf8359a2fd08265f935f52dd0a.tar.gz
gcc-d0228c2eaeb942cf8359a2fd08265f935f52dd0a.tar.bz2
* gimplify.c (create_tmp_var_raw): Don't call build_type_variant.
From-SVN: r173426
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r--gcc/gimplify.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index a554c20..c4b84c1 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -427,11 +427,6 @@ tree
create_tmp_var_raw (tree type, const char *prefix)
{
tree tmp_var;
- tree new_type;
-
- /* Make the type of the variable writable. */
- new_type = build_type_variant (type, 0, 0);
- TYPE_ATTRIBUTES (new_type) = TYPE_ATTRIBUTES (type);
tmp_var = build_decl (input_location,
VAR_DECL, prefix ? create_tmp_var_name (prefix) : NULL,