diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-29 16:23:40 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-29 16:23:40 +0000 |
commit | 2d9cc4811f38e1bef8d937ed203ebb24b6ceb786 (patch) | |
tree | 1df39b88ca7b48b23bb85cc3489bbbadade48d83 /gcc/lto | |
parent | 202c2bd9a4ef1f737d8a57b2bbc7ff7c447f4544 (diff) | |
download | gcc-2d9cc4811f38e1bef8d937ed203ebb24b6ceb786.tar.gz |
* lto.c (compare_tree_sccs_1): Compare DECL_FINAL_P,
DECL_CXX_CONSTRUCTOR_P, DECL_CXX_DESTRUCTOR_P and
TYPE_FINAL_P.
* lto-streamer-out.c (hash_tree): Stream DECL_FINAL_P.
DECL_CXX_CONSTRUCTOR_P. DECL_CXX_DESTRUCTOR_P.
TYPE_FINAL_P.
* lto-streamer-in.c (unpack_ts_decl_with_vis_value_fields):
DECL_FINAL_P. DECL_CXX_CONSTRUCTOR_P and DECL_CXX_DESTRUCTOR_P.
(unpack_ts_type_common_value_fields): Stream TYPE_FINAL_P.
* tree-streamer-out.c (pack_ts_decl_with_vis_value_fields):
Add DECL_FINAL_P, DECL_CXX_CONSTRUCTOR_P, DECL_CXX_DESTRUCTOR_P
(pack_ts_type_common_value_fields): Add TYPE_FINAL_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202079 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto')
-rw-r--r-- | gcc/lto/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/lto/lto.c | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 0fb1fc0eedd..ab81a7874a3 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,9 @@ +2013-08-29 Jan Hubicka <jh@suse.cz> + + * lto.c (compare_tree_sccs_1): Compare DECL_FINAL_P, + DECL_CXX_CONSTRUCTOR_P, DECL_CXX_DESTRUCTOR_P and + TYPE_FINAL_P. + 2013-08-28 Jan Hubicka <jh@suse.cz> * lto.c (compare_tree_sccs_1): Drop DECL_ERROR_ISSUED, diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index d3d9fabc151..f6e1f970caa 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -1889,6 +1889,9 @@ compare_tree_sccs_1 (tree t1, tree t2, tree **map) compare_values (DECL_DISREGARD_INLINE_LIMITS); compare_values (DECL_PURE_P); compare_values (DECL_LOOPING_CONST_OR_PURE_P); + compare_values (DECL_FINAL_P); + compare_values (DECL_CXX_CONSTRUCTOR_P); + compare_values (DECL_CXX_DESTRUCTOR_P); if (DECL_BUILT_IN_CLASS (t1) != NOT_BUILT_IN) compare_values (DECL_FUNCTION_CODE); if (DECL_STATIC_DESTRUCTOR (t1)) @@ -1902,7 +1905,10 @@ compare_tree_sccs_1 (tree t1, tree t2, tree **map) compare_values (TYPE_NO_FORCE_BLK); compare_values (TYPE_NEEDS_CONSTRUCTING); if (RECORD_OR_UNION_TYPE_P (t1)) - compare_values (TYPE_TRANSPARENT_AGGR); + { + compare_values (TYPE_TRANSPARENT_AGGR); + compare_values (TYPE_FINAL_P); + } else if (code == ARRAY_TYPE) compare_values (TYPE_NONALIASED_COMPONENT); compare_values (TYPE_PACKED); |