diff options
author | Richard Guenther <rguenther@suse.de> | 2012-07-18 08:49:55 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-07-18 08:49:55 +0000 |
commit | b0f4a35f73d421cac856149de1756a51d833adb3 (patch) | |
tree | 49094ac8cd688ab1fd9e8a0126ce952929b0706b /gcc/tree.h | |
parent | dad57b685cc668f11a70649b83e6317edd22194a (diff) | |
download | gcc-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.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); |