diff options
author | Richard Biener <rguenther@suse.de> | 2014-08-20 11:06:48 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-08-20 11:06:48 +0000 |
commit | 6cd87a2ea594fbacec733d5a3015499849e4bd83 (patch) | |
tree | ce3e9f1ae7d399cdefb7103ac28fff2457b4addf | |
parent | 0febb26e6e31a7da9932eb7337884f8717eaea5f (diff) | |
download | gcc-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/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/tree.c | 6 |
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 @@ -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); |