aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-12-15 11:32:49 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-12-15 11:32:49 +0000
commit1e4bc4ebc6a934266241e8fefb6f7924a0b7f9b3 (patch)
tree0150abd05882493ceaa352b63e28518e436efe94 /gcc/gimple.c
parentede51b1f13813c70b32070410496e34f573b2376 (diff)
downloadgcc-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/gimple.c')
-rw-r--r--gcc/gimple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c
index a04683a..02d8cc4 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -3171,7 +3171,7 @@ compare_type_names_p (tree t1, tree t2, bool for_completion_p)
/* Return true if the field decls F1 and F2 are at the same offset. */
-static bool
+bool
compare_field_offset (tree f1, tree f2)
{
if (DECL_OFFSET_ALIGN (f1) == DECL_OFFSET_ALIGN (f2))