summaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-05 12:04:29 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-05 12:04:29 +0000
commitbb0794f9d6b690450e09a01d9e97daf7048deb6d (patch)
tree9248ec53ac33470f04d9b2d15a87a88f255277f9 /gcc/gimplify.c
parentfcdf82e626f7ff7121768684273066a22df9141e (diff)
downloadgcc-bb0794f9d6b690450e09a01d9e97daf7048deb6d.tar.gz
* gimplify.c (create_tmp_var_raw): Don't call build_type_variant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173426 138bc75d-0d04-0410-961f-82ee72b054a4
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 a554c20e76b..c4b84c17198 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,