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
This commit is contained in:
parent
dbe9f23ca7
commit
e0cbb51bee
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-11-24 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* lto-streamer-in.c (input_gimple_stmt): Use types_compatible_p.
|
||||
|
||||
2010-11-24 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/46606
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue