c-common.c (c_alignof_expr): Use DECL_ALIGN_UNIT and TYPE_ALIGN_UNIT.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Tue, 31 Aug 2004 22:46:31 +0000 (22:46 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 31 Aug 2004 22:46:31 +0000 (18:46 -0400)
commita4e9ffe59171f4ae43e329f0cc1dd919bac27226
tree9be28897beaae19a44d2e62ed16af91e516683e6
parent631b67ce1f819a4122eaf8b46f725dc5ff5ebd1d
c-common.c (c_alignof_expr): Use DECL_ALIGN_UNIT and TYPE_ALIGN_UNIT.

* c-common.c (c_alignof_expr): Use DECL_ALIGN_UNIT and TYPE_ALIGN_UNIT.
(c_sizeof_of_alignof_type): Likewise.
* expr.c (array_ref_element_size): Likewise.
(highest_pow2_factor_for_target): Likewise.
* gimplify.c (canonicalize_addr_expr): Likewise.
(gimplify_compound_lval): Likewise.
* stor-layout.c (finalize_record_size, finalize_type_size): Likewise.
* tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Likewise.
* varasm.c (assemble_variable): Likewise.
(output_constant_def_contents): Alignments are unsigned.

From-SVN: r86848
gcc/ChangeLog
gcc/c-common.c
gcc/expr.c
gcc/gimplify.c
gcc/stor-layout.c
gcc/tree-ssa-ccp.c
gcc/varasm.c