This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Finish cleanup of unsigned_flag


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]