aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer-in.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-11-24 15:42:27 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-11-24 15:42:27 +0000
commite0cbb51bee4a942b019971eb2282c478708e7208 (patch)
tree11e2c0bb3c92f5116dde76e372eea267aa5c8b9a /gcc/lto-streamer-in.c
parentdbe9f23ca7046f0dc78d06a485a02b5c076f0015 (diff)
downloadgcc-e0cbb51bee4a942b019971eb2282c478708e7208.zip
gcc-e0cbb51bee4a942b019971eb2282c478708e7208.tar.gz
gcc-e0cbb51bee4a942b019971eb2282c478708e7208.tar.bz2
lto-streamer-in.c (input_gimple_stmt): Use types_compatible_p.
2010-11-24 Richard Guenther <rguenther@suse.de> * lto-streamer-in.c (input_gimple_stmt): Use types_compatible_p. From-SVN: r167116
Diffstat (limited to 'gcc/lto-streamer-in.c')
-rw-r--r--gcc/lto-streamer-in.c5
1 files changed, 2 insertions, 3 deletions
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;