summaryrefslogtreecommitdiff
path: root/gcc/lto/ChangeLog
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2017-04-12 07:35:49 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2017-04-12 07:35:49 +0000
commit3721b151fc6d90e3d88b4579619ad1f1530823e1 (patch)
treef06c2718f7e849e343f4476cdd4b96146c1d52d7 /gcc/lto/ChangeLog
parent75974b86aa6a7088c483bcfd99ef3e3c969406fd (diff)
downloadgcc-3721b151fc6d90e3d88b4579619ad1f1530823e1.tar.gz
2017-04-12 Richard Biener <rguenther@suse.de>
Bernd Edlinger <bernd.edlinger@hotmail.de> PR middle-end/79671 * alias.c (component_uses_parent_alias_set_from): Handle TYPE_TYPELESS_STORAGE. (get_alias_set): Likewise. * tree-core.h (tree_type_common): Add typeless_storage flag. * tree.h (TYPE_TYPELESS_STORAGE): New macro. * stor-layout.c (place_union_field): Set TYPE_TYPELESS_STORAGE for types containing members with TYPE_TYPELESS_STORAGE. (place_field): Likewise. (layout_type): Likewise for ARRAY_TYPE. * lto-streamer-out.c (hash_tree): Hash TYPE_TYPELESS_STORAGE. * tree-streamer-in.c (unpack_ts_type_common_value_fields): Stream TYPE_TYPELESS_STORAGE. * tree-streamer-out.c (pack_ts_type_common_value_fields): Likewise. lto/ * lto.c (compare_tree_sccs_1): Compare TYPE_TYPELESS_STORAGE. cp/ * tree.c (build_cplus_array_type): Set TYPE_TYPELESS_STORAGE for arrays of character or std::byte type. * g++.dg/torture/pr79671.C: New testcase. * g++.dg/lto/pr79671_0.C: Likewise. * g++.dg/lto/pr79671_1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246866 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto/ChangeLog')
-rw-r--r--gcc/lto/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index d308c255ad0..d24dd0cfa0f 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,9 @@
+2017-04-12 Richard Biener <rguenther@suse.de>
+ Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ PR middle-end/79671
+ * lto.c (compare_tree_sccs_1): Compare TYPE_TYPELESS_STORAGE.
+
2017-02-14 Martin Liska <mliska@suse.cz>
* lto.c (do_stream_out): Free LTO file filename string.