* gimplify.c (create_tmp_var_raw): Don't call build_type_variant.
authorJakub Jelinek <jakub@redhat.com>
Thu, 5 May 2011 12:04:29 +0000 (14:04 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 5 May 2011 12:04:29 +0000 (14:04 +0200)
From-SVN: r173426

gcc/ChangeLog
gcc/gimplify.c

index 88b6008244fb2d45a31a9091792c09833da66910..f4b18747335e7f3e3d7e8dabab4934f421c37515 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * gimplify.c (create_tmp_var_raw): Don't call build_type_variant.
+
 2011-05-05  Eric Botcazou  <ebotcazou@adacore.com>
 
        * tree.h (get_pending_sizes): Remove prototype.
index a554c20e76bafeb8c653b29e9245a79695a28dc2..c4b84c1719826b037d30f44c3ecfbe1879d540d1 100644 (file)
@@ -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,