diff options
Diffstat (limited to 'gcc/lto-streamer-out.c')
-rw-r--r-- | gcc/lto-streamer-out.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index 3af5373..cb47b00 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -528,7 +528,6 @@ DFS_write_tree_body (struct output_block *ob, { if (TREE_CODE (expr) == TYPE_DECL) DFS_follow_tree_edge (DECL_ORIGINAL_TYPE (expr)); - DFS_follow_tree_edge (DECL_VINDEX (expr)); } if (CODE_CONTAINS_STRUCT (code, TS_DECL_WITH_VIS)) @@ -549,6 +548,7 @@ DFS_write_tree_body (struct output_block *ob, if (CODE_CONTAINS_STRUCT (code, TS_FUNCTION_DECL)) { + DFS_follow_tree_edge (DECL_VINDEX (expr)); DFS_follow_tree_edge (DECL_FUNCTION_PERSONALITY (expr)); /* Do not DECL_FUNCTION_SPECIFIC_TARGET. They will be regenerated. */ DFS_follow_tree_edge (DECL_FUNCTION_SPECIFIC_OPTIMIZATION (expr)); @@ -961,7 +961,6 @@ hash_tree (struct streamer_tree_cache_d *cache, tree t) { if (code == TYPE_DECL) visit (DECL_ORIGINAL_TYPE (t)); - visit (DECL_VINDEX (t)); } if (CODE_CONTAINS_STRUCT (code, TS_DECL_WITH_VIS)) @@ -981,6 +980,7 @@ hash_tree (struct streamer_tree_cache_d *cache, tree t) if (CODE_CONTAINS_STRUCT (code, TS_FUNCTION_DECL)) { + visit (DECL_VINDEX (t)); visit (DECL_FUNCTION_PERSONALITY (t)); /* Do not follow DECL_FUNCTION_SPECIFIC_TARGET. */ visit (DECL_FUNCTION_SPECIFIC_OPTIMIZATION (t)); |