aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2015-05-27 18:00:15 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2015-05-27 18:00:15 +0000
commit8974754f6f12f2f032d4122b06d26319545ced00 (patch)
tree400932ae2cd83549d10a0b94fb453c26608f0409 /gcc/expr.h
parente590690ef23053ddbd5b32c119f403f418a02d6a (diff)
downloadgcc-8974754f6f12f2f032d4122b06d26319545ced00.zip
gcc-8974754f6f12f2f032d4122b06d26319545ced00.tar.gz
gcc-8974754f6f12f2f032d4122b06d26319545ced00.tar.bz2
expr.h (array_at_struct_end_p): Move to...
* expr.h (array_at_struct_end_p): Move to... (array_ref_element_size): Likewise. (component_ref_field_offset): Likewise. * tree.h (array_ref_element_size): ...here. (array_at_struct_end_p): Likewise. (component_ref_field_offset): Likewise. * expr.c (array_ref_element_size): Move to... (array_ref_low_bound): Likewise. (array_at_struct_end_p): Likewise. (array_ref_up_bound): Likewise. (component_ref_field_offset): Likewise. * tree.c (array_ref_element_size): ...here. (array_ref_low_bound): Likewise. (array_ref_up_bound): Likewise. (array_at_struct_end_p): Likewise. (component_ref_field_offset): Likewise. From-SVN: r223768
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 7b28ffd..8cf9720 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -281,19 +281,10 @@ rtx get_personality_function (tree);
extern int can_move_by_pieces (unsigned HOST_WIDE_INT, unsigned int);
extern unsigned HOST_WIDE_INT highest_pow2_factor (const_tree);
-bool array_at_struct_end_p (tree);
-
-/* Return a tree of sizetype representing the size, in bytes, of the element
- of EXP, an ARRAY_REF or an ARRAY_RANGE_REF. */
-extern tree array_ref_element_size (tree);
extern bool categorize_ctor_elements (const_tree, HOST_WIDE_INT *,
HOST_WIDE_INT *, bool *);
-/* Return a tree representing the offset, in bytes, of the field referenced
- by EXP. This does not include any offset in DECL_FIELD_BIT_OFFSET. */
-extern tree component_ref_field_offset (tree);
-
extern void expand_operands (tree, tree, rtx, rtx*, rtx*,
enum expand_modifier);