tree.h (get_object_alignment_1): Declare.
authorRichard Guenther <rguenther@suse.de>
Thu, 14 Apr 2011 12:07:57 +0000 (12:07 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 14 Apr 2011 12:07:57 +0000 (12:07 +0000)
commitdaade2060caf31a11154d926d4927717564a7a46
tree8d1c24f7892e87a4ef9d15d2ffc7a8758db7b114
parent920e81727482ab7c10dd4cadf78e7ff052644762
tree.h (get_object_alignment_1): Declare.

2011-04-14  Richard Guenther  <rguenther@suse.de>

* tree.h (get_object_alignment_1): Declare.
* builtins.c (get_object_alignment_1): Split out worker from ...
(get_object_alignment): ... here.
* fold-const.c (get_pointer_modulus_and_residue): Use
get_object_alignment_1.

* gcc.dg/fold-bitand-4.c: Move ...
* c-c++-common/fold-bitand-4.c: ... here.  Adjust slightly.

From-SVN: r172424
gcc/ChangeLog
gcc/builtins.c
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/fold-bitand-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/fold-bitand-4.c [deleted file]
gcc/tree.h