aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-08-20 11:06:48 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-08-20 11:06:48 +0000
commit6cd87a2ea594fbacec733d5a3015499849e4bd83 (patch)
treece3e9f1ae7d399cdefb7103ac28fff2457b4addf
parent0febb26e6e31a7da9932eb7337884f8717eaea5f (diff)
downloadgcc-6cd87a2ea594fbacec733d5a3015499849e4bd83.zip
gcc-6cd87a2ea594fbacec733d5a3015499849e4bd83.tar.gz
gcc-6cd87a2ea594fbacec733d5a3015499849e4bd83.tar.bz2
re PR lto/62190 (LTO DWARF produces __unknown__ type for unsigned int function argument type)
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. From-SVN: r214216
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/tree.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e6713e5..360db11 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/tree.c b/gcc/tree.c
index 2e4ce8d..33922a0 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -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);