2014-08-20 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Aug 2014 11:06:48 +0000 (11:06 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Aug 2014 11:06:48 +0000 (11:06 +0000)
PR lto/62190
* tree.c (build_common_tree_nodes): Use make_or_reuse_type
to build uint{16,32,64}_type_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214216 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree.c

index e6713e5..360db11 100644 (file)
@@ -1,3 +1,9 @@
+2014-08-20  Richard Biener  <rguenther@suse.de>
+
+       PR lto/62190
+       * tree.c (build_common_tree_nodes): Use make_or_reuse_type
+       to build uint{16,32,64}_type_node.
+
 2014-08-20  Terry Guo  <terry.guo@arm.com>
 
        * config/arm/thumb1.md (64bit splitter): Replace const_double_operand
index 2e4ce8d..33922a0 100644 (file)
@@ -9698,9 +9698,9 @@ build_common_tree_nodes (bool signed_char, bool short_double)
   integer_ptr_type_node = build_pointer_type (integer_type_node);
 
   /* Fixed size integer types.  */
-  uint16_type_node = build_nonstandard_integer_type (16, true);
-  uint32_type_node = build_nonstandard_integer_type (32, true);
-  uint64_type_node = build_nonstandard_integer_type (64, true);
+  uint16_type_node = make_or_reuse_type (16, 1);
+  uint32_type_node = make_or_reuse_type (32, 1);
+  uint64_type_node = make_or_reuse_type (64, 1);
 
   /* Decimal float types. */
   dfloat32_type_node = make_node (REAL_TYPE);