diff options
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/iq2000/iq2000.c | 2 | ||||
-rw-r--r-- | gcc/config/m32r/m32r.c | 4 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 | ||||
-rw-r--r-- | gcc/config/s390/s390.c | 2 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.c | 10 |
6 files changed, 11 insertions, 11 deletions
diff --git a/gcc/config/iq2000/iq2000.c b/gcc/config/iq2000/iq2000.c index 07934ee60b0..41d4a0e1797 100644 --- a/gcc/config/iq2000/iq2000.c +++ b/gcc/config/iq2000/iq2000.c @@ -2657,7 +2657,7 @@ iq2000_function_value (tree valtype, tree func ATTRIBUTE_UNUSED) { int reg = GP_RETURN; enum machine_mode mode = TYPE_MODE (valtype); - int unsignedp = TREE_UNSIGNED (valtype); + int unsignedp = TYPE_UNSIGNED (valtype); /* Since we define TARGET_PROMOTE_FUNCTION_RETURN that returns true, we must promote the mode just as PROMOTE_MODE does. */ diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c index 3a6ae8561dc..734d75743c1 100644 --- a/gcc/config/m32r/m32r.c +++ b/gcc/config/m32r/m32r.c @@ -2758,13 +2758,13 @@ block_move_call (rtx dest_reg, rtx src_reg, rtx bytes_rtx) emit_library_call (gen_rtx_SYMBOL_REF (Pmode, "memcpy"), 0, VOIDmode, 3, dest_reg, Pmode, src_reg, Pmode, convert_to_mode (TYPE_MODE (sizetype), bytes_rtx, - TREE_UNSIGNED (sizetype)), + TYPE_UNSIGNED (sizetype)), TYPE_MODE (sizetype)); #else emit_library_call (gen_rtx_SYMBOL_REF (Pmode, "bcopy"), 0, VOIDmode, 3, src_reg, Pmode, dest_reg, Pmode, convert_to_mode (TYPE_MODE (integer_type_node), bytes_rtx, - TREE_UNSIGNED (integer_type_node)), + TYPE_UNSIGNED (integer_type_node)), TYPE_MODE (integer_type_node)); #endif } diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index cbd248e022b..de0d9874f4a 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -7509,7 +7509,7 @@ mips_function_value (tree valtype, tree func ATTRIBUTE_UNUSED, int unsignedp; mode = TYPE_MODE (valtype); - unsignedp = TREE_UNSIGNED (valtype); + unsignedp = TYPE_UNSIGNED (valtype); /* Since we define TARGET_PROMOTE_FUNCTION_RETURN that returns true, we must promote the mode just as PROMOTE_MODE does. */ diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index bd649fa5695..f92a12c85b4 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -14916,7 +14916,7 @@ rs6000_handle_altivec_attribute (tree *node, tree name, tree args, switch (altivec_type) { case 'v': - unsigned_p = TREE_UNSIGNED (type); + unsigned_p = TYPE_UNSIGNED (type); switch (mode) { case SImode: diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 5340775dba5..63fc3e57c9a 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -6127,7 +6127,7 @@ s390_function_value (tree type, enum machine_mode mode) { if (type) { - int unsignedp = TREE_UNSIGNED (type); + int unsignedp = TYPE_UNSIGNED (type); mode = promote_mode (type, TYPE_MODE (type), &unsignedp, 1); } diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 8113f4b1142..bdb9ed40eef 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -7323,7 +7323,7 @@ sparc_type_code (register tree type) /* Carefully distinguish all the standard types of C, without messing up if the language is not C. We do this by - testing TYPE_PRECISION and TREE_UNSIGNED. The old code used to + testing TYPE_PRECISION and TYPE_UNSIGNED. The old code used to look at both the names and the above fields, but that's redundant. Any type whose size is between two C types will be considered to be the wider of the two types. Also, we do not have a @@ -7333,16 +7333,16 @@ sparc_type_code (register tree type) size, but that's fine, since neither can the assembler. */ if (TYPE_PRECISION (type) <= CHAR_TYPE_SIZE) - return (qualifiers | (TREE_UNSIGNED (type) ? 12 : 2)); + return (qualifiers | (TYPE_UNSIGNED (type) ? 12 : 2)); else if (TYPE_PRECISION (type) <= SHORT_TYPE_SIZE) - return (qualifiers | (TREE_UNSIGNED (type) ? 13 : 3)); + return (qualifiers | (TYPE_UNSIGNED (type) ? 13 : 3)); else if (TYPE_PRECISION (type) <= INT_TYPE_SIZE) - return (qualifiers | (TREE_UNSIGNED (type) ? 14 : 4)); + return (qualifiers | (TYPE_UNSIGNED (type) ? 14 : 4)); else - return (qualifiers | (TREE_UNSIGNED (type) ? 15 : 5)); + return (qualifiers | (TYPE_UNSIGNED (type) ? 15 : 5)); case REAL_TYPE: /* If this is a range type, consider it to be the underlying |