]> gcc.gnu.org Git - gcc.git/commit
tree.h (get_object_or_type_alignment): Remove.
authorRichard Guenther <rguenther@suse.de>
Wed, 18 Jul 2012 08:49:55 +0000 (08:49 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 18 Jul 2012 08:49:55 +0000 (08:49 +0000)
commitb0f4a35f73d421cac856149de1756a51d833adb3
tree49094ac8cd688ab1fd9e8a0126ce952929b0706b
parentdad57b685cc668f11a70649b83e6317edd22194a
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
gcc/ChangeLog
gcc/builtins.c
gcc/expr.c
gcc/tree.h
This page took 0.056357 seconds and 5 git commands to generate.