diff options
author | Richard Guenther <rguenther@suse.de> | 2009-12-15 11:32:49 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-12-15 11:32:49 +0000 |
commit | 1e4bc4ebc6a934266241e8fefb6f7924a0b7f9b3 (patch) | |
tree | 0150abd05882493ceaa352b63e28518e436efe94 /gcc/lto-streamer-in.c | |
parent | ede51b1f13813c70b32070410496e34f573b2376 (diff) | |
download | gcc-1e4bc4ebc6a934266241e8fefb6f7924a0b7f9b3.zip gcc-1e4bc4ebc6a934266241e8fefb6f7924a0b7f9b3.tar.gz gcc-1e4bc4ebc6a934266241e8fefb6f7924a0b7f9b3.tar.bz2 |
gimple.h (compare_field_offset): Declare.
2009-12-15 Richard Guenther <rguenther@suse.de>
* gimple.h (compare_field_offset): Declare.
* gimple.c (compare_field_offset): Export.
* lto-streamer-in.c (input_gimple_stmt): Use compare_field_offset.
From-SVN: r155250
Diffstat (limited to 'gcc/lto-streamer-in.c')
-rw-r--r-- | gcc/lto-streamer-in.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c index 9f831a8..ea657e1 100644 --- a/gcc/lto-streamer-in.c +++ b/gcc/lto-streamer-in.c @@ -1082,12 +1082,7 @@ input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in, { if (tem == field || (TREE_TYPE (tem) == TREE_TYPE (field) - && (DECL_FIELD_OFFSET (tem) - == DECL_FIELD_OFFSET (field)) - && (DECL_FIELD_BIT_OFFSET (tem) - == DECL_FIELD_BIT_OFFSET (field)) - && (DECL_OFFSET_ALIGN (tem) - == DECL_OFFSET_ALIGN (field)))) + && compare_field_offset (tem, field))) break; } /* In case of type mismatches across units we can fail |