From e0cbb51bee4a942b019971eb2282c478708e7208 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Wed, 24 Nov 2010 15:42:27 +0000 Subject: lto-streamer-in.c (input_gimple_stmt): Use types_compatible_p. 2010-11-24 Richard Guenther * lto-streamer-in.c (input_gimple_stmt): Use types_compatible_p. From-SVN: r167116 --- gcc/lto-streamer-in.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gcc/lto-streamer-in.c') diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c index 4d36f06..f167d40 100644 --- a/gcc/lto-streamer-in.c +++ b/gcc/lto-streamer-in.c @@ -967,9 +967,8 @@ input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in, == DECL_NONADDRESSABLE_P (field) && gimple_compare_field_offset (tem, field)) { - if (gimple_types_compatible_p (TREE_TYPE (tem), - TREE_TYPE (field), - GTC_DIAG)) + if (types_compatible_p (TREE_TYPE (tem), + TREE_TYPE (field))) break; else closest_match = tem; -- cgit v1.1