diff options
Diffstat (limited to 'gcc/tree-streamer.c')
-rw-r--r-- | gcc/tree-streamer.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/tree-streamer.c b/gcc/tree-streamer.c index af9461e..4b3e3e4 100644 --- a/gcc/tree-streamer.c +++ b/gcc/tree-streamer.c @@ -264,7 +264,8 @@ record_common_node (struct streamer_tree_cache_d *cache, tree node) gcc_checking_assert (node != boolean_type_node && node != boolean_true_node - && node != boolean_false_node); + && node != boolean_false_node + && node != double_type_node); /* We have to make sure to fill exactly the same number of elements for all frontends. That can include NULL trees. @@ -315,10 +316,14 @@ preload_common_nodes (struct streamer_tree_cache_d *cache) record_common_node (cache, sizetype_tab[i]); for (i = 0; i < TI_MAX; i++) - /* Skip boolean type and constants, they are frontend dependent. */ + /* Skip boolean type and constants. They are frontend dependent. + Skip double type, frontend dependent due to -fshort-double. */ if (i != TI_BOOLEAN_TYPE && i != TI_BOOLEAN_FALSE - && i != TI_BOOLEAN_TRUE) + && i != TI_BOOLEAN_TRUE + && i != TI_DOUBLE_TYPE + && i != TI_COMPLEX_DOUBLE_TYPE + && i != TI_DOUBLE_PTR_TYPE) record_common_node (cache, global_trees[i]); } |