diff options
| author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-28 20:02:28 +0000 |
|---|---|---|
| committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-28 20:02:28 +0000 |
| commit | b56337d2c37b4bf7a6f5bc9240171ce19e71d79a (patch) | |
| tree | 92ce3e71b6733dbef67b47393f4d33f639182d26 /gcc/ada/utils.c | |
| parent | d459e0d8b669bbf8bb3b9446daeba0a82eb1c727 (diff) | |
| download | ppe42-gcc-b56337d2c37b4bf7a6f5bc9240171ce19e71d79a.tar.gz ppe42-gcc-b56337d2c37b4bf7a6f5bc9240171ce19e71d79a.zip | |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66182 138bc75d-0d04-0410-961f-82ee72b054a4
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 fa58936a53e..d21a097cfdd 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; |

