diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-23 14:01:49 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-23 14:01:49 +0000 |
commit | a9b8ddbe56eac92f5a4620418f3070266ff08d34 (patch) | |
tree | 6385e1fabde05644320c6c7f11ab4bd95f2dc27a /gcc/gimple.h | |
parent | b580be013da277d984f69093f153eef8a659be12 (diff) | |
download | gcc-a9b8ddbe56eac92f5a4620418f3070266ff08d34.tar.gz |
2010-07-23 Richard Guenther <rguenther@suse.de>
* lto-symtab.c (lto_symtab_merge): Use gtc_mode enum
values.
(lto_symtab_merge_decls_2): Likewise.
* tree-ssa.c (useless_type_conversion_p): Likewise.
* lto-streamer-in.c (input_gimple_stmt): Likewise.
* gimple.c (gtc_visited2, gtc_ob2): Remove.
(struct type_pair_d): Make same_p an array indexed by mode.
Update comment.
(lookup_type_pair): Update initialization.
(struct sccs): Adjust same_p type.
(gimple_types_compatible_p_1, gtc_visit, gimple_types_compatible_p):
Adjust.
(print_gimple_types_stats): Likewise.
* gimple.h (enum gtc_mode): New.
(gimple_types_compatible_p): Adjust prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162461 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index af4799e608d..790998637f0 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -956,7 +956,8 @@ extern tree get_call_expr_in (tree t); extern void recalculate_side_effects (tree); extern bool gimple_compare_field_offset (tree, tree); extern tree gimple_register_type (tree); -extern bool gimple_types_compatible_p (tree, tree, bool); +enum gtc_mode { GTC_MERGE = 0, GTC_DIAG = 1 }; +extern bool gimple_types_compatible_p (tree, tree, enum gtc_mode); extern void print_gimple_types_stats (void); extern void free_gimple_type_tables (void); extern tree gimple_unsigned_type (tree); |