summaryrefslogtreecommitdiff
path: root/gcc/lto-streamer-in.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-24 15:42:27 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-24 15:42:27 +0000
commit366a26da65204a36e5e43e35e1b1b9b9c7a8ed33 (patch)
tree11e2c0bb3c92f5116dde76e372eea267aa5c8b9a /gcc/lto-streamer-in.c
parent1a8f4550a26dec9e4569956b534a688e83d079b0 (diff)
downloadgcc-366a26da65204a36e5e43e35e1b1b9b9c7a8ed33.tar.gz
2010-11-24 Richard Guenther <rguenther@suse.de>
* lto-streamer-in.c (input_gimple_stmt): Use types_compatible_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167116 138bc75d-0d04-0410-961f-82ee72b054a4
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 4d36f067592..f167d400302 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;