builtins.c, [...]: Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Thu, 1 Apr 2004 03:50:43 +0000 (03:50 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 1 Apr 2004 03:50:43 +0000 (22:50 -0500)
commit8df83eae1ed8f8f7cfb653bdeb14f2b5071d7c4f
treecdd0771bc6e7a796038424b013a8a89e08667dea
parentd9175b871cddac9b9d3c7216bf3a8f665539d782
builtins.c, [...]: Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED.

* builtins.c, c-aux-info.c, c-common.c, c-cppbuiltin.c, c-decl.c:
Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED.
* c-format.c, c-opts.c, c-pretty-print.c, c-typeck.c: Likewise.
* calls.c, convert.c, dbxout.c, dojump.c, dwarf2out.c: Likewise.
* expmed.c, expr.c, fold-const.c, function.c, integrate.c: Likewise.
* optabs.c, sdbout.c, stmt.c, stor-layout.c, tree-dump.c: Likewise.
* tree.c, config/iq2000/iq2000.c, config/m32r/m32r.c: Likewise.
* config/mips/mips.c, config/rs6000/rs6000.c: Likewise.
* config/s390/s390.c, config/sparc/sparc.c, objc/objc-act.c: Likewise.
* stor-layout.c (layout_type, case COMPLEX_TYPE): Test for
REAL_TYPE, not INTEGER_TYPE.
(layout_type, case VECTOR_TYPE): Simplify code.
* tree.c (build_vector_type_for_mode): Remove dup unsigned setting.
* tree.h: Update comments.
(STRIP_NOPS): Use TYPE_UNSIGNED.
(TYPE_UNSIGNED): New macro.
(TYPE_TRAP_SIGNED): Remove now redundant check.
(SAVE_EXPR_NOPLACEHOLDER): Don't use TREE_UNSIGNED.

* cp/call.c (joust): Use TYPE_UNSIGNED, not TREE_UNSIGNED.
* cp/class.c (check_bitfield_decl): Likewise.
* cp/cvt.c (type_promotes_to): Likewise.
* cp/decl.c (finish_enum): Likewise.
* cp/mangle.c (write_builtin_type): Likewise.
* cp/semantics.c (finish_switch_cond, finish_unary_op_expr): Likewise.
* cp/typeck.c (type_after_usual_arithmetic_conversions): Likewise.
(build_binary_op): Likewise.

* f/com.c (ffecom_arrayref_): Use TYPE_UNSIGNED, not TREE_UNSIGNED.
(ffecom_expr_): Likewise.

* java/jcf-write.c (generate_bytecode_insns): Use TYPE_UNSIGNED.

* treelang/treetree.c (tree_lang_signed_or_unsigned_type):
Use TYPE_UNSIGNED, not TREE_UNSIGNED.

* ada/decl.c (gnat_to_gnu_entity, make_type_from_size):
Use TYPE_UNSIGNED, not TREE_UNSIGNED.
* ada/trans.c (tree_transform, convert_with_check): Likewise.
* ada/utils.c (gnat_signed_or_unsigned_type): Likewise.
(build_vms_descriptor, unchecked_convert): Likewise.
* ada/utils2.c (nonbinary_modular_operation): Likewise.

From-SVN: r80287
53 files changed:
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/decl.c
gcc/ada/trans.c
gcc/ada/utils.c
gcc/ada/utils2.c
gcc/builtins.c
gcc/c-aux-info.c
gcc/c-common.c
gcc/c-cppbuiltin.c
gcc/c-decl.c
gcc/c-format.c
gcc/c-opts.c
gcc/c-pretty-print.c
gcc/c-typeck.c
gcc/calls.c
gcc/config/iq2000/iq2000.c
gcc/config/m32r/m32r.c
gcc/config/mips/mips.c
gcc/config/rs6000/rs6000.c
gcc/config/s390/s390.c
gcc/config/sparc/sparc.c
gcc/convert.c
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cvt.c
gcc/cp/decl.c
gcc/cp/mangle.c
gcc/cp/semantics.c
gcc/cp/typeck.c
gcc/dbxout.c
gcc/dojump.c
gcc/dwarf2out.c
gcc/expmed.c
gcc/expr.c
gcc/f/ChangeLog
gcc/f/com.c
gcc/fold-const.c
gcc/function.c
gcc/integrate.c
gcc/java/ChangeLog
gcc/java/jcf-write.c
gcc/objc/objc-act.c
gcc/optabs.c
gcc/sdbout.c
gcc/stmt.c
gcc/stor-layout.c
gcc/tree-dump.c
gcc/tree.c
gcc/tree.h
gcc/treelang/ChangeLog
gcc/treelang/treetree.c