aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-07-18 08:49:55 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-07-18 08:49:55 +0000
commitb0f4a35f73d421cac856149de1756a51d833adb3 (patch)
tree49094ac8cd688ab1fd9e8a0126ce952929b0706b /gcc/tree.h
parentdad57b685cc668f11a70649b83e6317edd22194a (diff)
downloadgcc-b0f4a35f73d421cac856149de1756a51d833adb3.zip
gcc-b0f4a35f73d421cac856149de1756a51d833adb3.tar.gz
gcc-b0f4a35f73d421cac856149de1756a51d833adb3.tar.bz2
tree.h (get_object_or_type_alignment): Remove.
2012-07-18 Richard Guenther <rguenther@suse.de> * tree.h (get_object_or_type_alignment): Remove. * builtins.c (get_object_alignment_2): New function copied from get_object_alignment_1. Take extra argument to indicate whether we take the address of EXP. Rework to use type alignment information if not, and return whether the result is an approximation or not. (get_object_alignment_1): Wrap around get_object_alignment_2. (get_pointer_alignment_1): Call get_object_alignment_2 indicating we take the address. (get_object_or_type_alignment): Remove. * expr.c (expand_assignment): Call get_object_alignment. (expand_expr_real_1): Likewise. From-SVN: r189607
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 321ad8a..2261f2d 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -5485,7 +5485,6 @@ extern bool is_builtin_fn (tree);
extern bool get_object_alignment_1 (tree, unsigned int *,
unsigned HOST_WIDE_INT *);
extern unsigned int get_object_alignment (tree);
-extern unsigned int get_object_or_type_alignment (tree);
extern bool get_pointer_alignment_1 (tree, unsigned int *,
unsigned HOST_WIDE_INT *);
extern unsigned int get_pointer_alignment (tree);