This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Finish cleanup of unsigned_flag
- From: James Morrison <ja2morri at csclub dot uwaterloo dot ca>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 06 Apr 2004 21:15:41 -0400
- Subject: Re: Finish cleanup of unsigned_flag
- References: <10404011346.AA24614@vlsi1.ultra.nyu.edu>
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
> Self-explanatory. Tested on x86_64-linux.
>
> 2004-04-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
>
> * expr.c (get_inner_reference): Use DECL_UNSIGNED, not TREE_UNSIGNED.
> * stor-layout.c (layout_decl): Likewise.
> * tree.c (get_narrower): Likewise and also use BIT_FIELD_REF_UNSIGNED.
> * fold-const.c (make_bit_field_ref): Use BIT_FIELD_REF_UNSIGNED.
> * print-tree.c (print_node): Handle various used of unsigned_flag.
> * tree.def (BIT_FIELD_REF): Update comment.
> * tree.h (TREE_UNSIGNED): Deleted.
> (DECL_UNSIGNED, BIT_FIELD_REF_UNSIGNED): New macros.
>
> * cp/class.c (VTT_TOP_LEVEL_P): Use unsigned_flag directly.
>
> * f/com.c (ffe_truthvalue_conversion, case COMPONENT_REF):
> Use DECL_UNSIGNED and integer_onep.
>
Perhaps you could fix doc/c-tree.texi as well. I think it is just
changing TREE_UNSIGNED to TYPE_UNSIGNED.
Jim