diff options
author | Richard Guenther <rguenther@suse.de> | 2010-08-10 09:16:22 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-08-10 09:16:22 +0000 |
commit | e80c2726d26a882c2ef35108b46aa5981a7a4513 (patch) | |
tree | 69f85b0d583ceda0fdc88c84ebf0b408827b5505 /gcc/tree.h | |
parent | a024390f71187444954cc0001bdea390fb31551f (diff) | |
download | gcc-e80c2726d26a882c2ef35108b46aa5981a7a4513.zip gcc-e80c2726d26a882c2ef35108b46aa5981a7a4513.tar.gz gcc-e80c2726d26a882c2ef35108b46aa5981a7a4513.tar.bz2 |
tree.h (get_object_alignment): Adjust prototype.
2010-08-10 Richard Guenther <rguenther@suse.de>
* tree.h (get_object_alignment): Adjust prototype.
* builtins.c (get_object_alignment): Return unsigned int,
drop the align parameter. Handle MEM_REF, MISALIGNED_INDIRECT_REF
and TARGET_MEM_REF properly.
(get_pointer_alignment): Adjust.
* emit-rtl.c (get_mem_align_offset): Adjust comment.
(set_mem_attributes_minus_bitpos): Adjust.
* tree-ssa-ccp.c (get_value_from_alignment): Adjust.
From-SVN: r163051
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5036,7 +5036,7 @@ extern bool can_trust_pointer_alignment (void); extern int get_pointer_alignment (tree, unsigned int); extern bool is_builtin_name (const char *); extern bool is_builtin_fn (tree); -extern int get_object_alignment (tree, unsigned int, unsigned int); +extern unsigned int get_object_alignment (tree, unsigned int); extern tree fold_call_stmt (gimple, bool); extern tree gimple_fold_builtin_snprintf_chk (gimple, tree, enum built_in_function); extern tree make_range (tree, int *, tree *, tree *, bool *); |