diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2003-04-28 20:02:28 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2003-04-28 20:02:28 +0000 |
commit | 0864034eb204f4c9636509af08b9e2f343a9dd85 (patch) | |
tree | 92ce3e71b6733dbef67b47393f4d33f639182d26 /gcc/ada/utils.c | |
parent | 9661b15f951d61710cadd3b4c85d5b29078e116e (diff) | |
download | gcc-0864034eb204f4c9636509af08b9e2f343a9dd85.zip gcc-0864034eb204f4c9636509af08b9e2f343a9dd85.tar.gz gcc-0864034eb204f4c9636509af08b9e2f343a9dd85.tar.bz2 |
tree.h (TREE_CST_RTL, [...]): Delete.
* tree.h (TREE_CST_RTL, CST_OR_CONSTRUCTOR_CHECK): Delete.
(struct tree_int_cst, struct tree_real_cst, struct tree_string,
struct tree_complex, struct tree_vector): Remove RTL field.
(CONSTRUCTOR_ELTS): Use elt 0.
* tree.def (CONSTRUCTOR): Delete first of its two operands.
* varasm.c (output_constant_def): Remove early exit if
TREE_CST_RTL is set. Don't set TREE_CST_RTL.
(decode_addr_const): Don't mention TREE_CST_RTL in comment.
* target.h (select_section): Don't mention TREE_CST_RTL in comment.
* doc/tm.texi (encode_section_info): Don't talk about TREE_CST_RTL.
ada:
* utils.c (convert): No need to clear TREE_CST_RTL.
From-SVN: r66182
Diffstat (limited to 'gcc/ada/utils.c')
-rw-r--r-- | gcc/ada/utils.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/ada/utils.c b/gcc/ada/utils.c index fa58936..d21a097 100644 --- a/gcc/ada/utils.c +++ b/gcc/ada/utils.c @@ -2877,18 +2877,13 @@ convert (type, expr) case CONSTRUCTOR: /* If we are converting a STRING_CST to another constrained array type, just make a new one in the proper type. Likewise for a - CONSTRUCTOR. But if the mode of the type is different, we must - ensure a new RTL is made for the constant. */ + CONSTRUCTOR. */ if (code == ecode && AGGREGATE_TYPE_P (etype) && ! (TREE_CODE (TYPE_SIZE (etype)) == INTEGER_CST && TREE_CODE (TYPE_SIZE (type)) != INTEGER_CST)) { expr = copy_node (expr); TREE_TYPE (expr) = type; - - if (TYPE_MODE (type) != TYPE_MODE (etype)) - TREE_CST_RTL (expr) = 0; - return expr; } break; |