aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2003-04-28 20:02:28 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-04-28 20:02:28 +0000
commit0864034eb204f4c9636509af08b9e2f343a9dd85 (patch)
tree92ce3e71b6733dbef67b47393f4d33f639182d26 /gcc/varasm.c
parent9661b15f951d61710cadd3b4c85d5b29078e116e (diff)
downloadgcc-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/varasm.c')
-rw-r--r--gcc/varasm.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index f42f529..5b038b2 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -2093,8 +2093,6 @@ decode_addr_const (exp, value)
case COMPLEX_CST:
case CONSTRUCTOR:
case INTEGER_CST:
- /* This constant should have been output already, but we can't simply
- use TREE_CST_RTL since INTEGER_CST doesn't have one. */
x = output_constant_def (target, 1);
break;
@@ -2554,7 +2552,6 @@ build_constant_desc (exp)
If DEFER is nonzero, the output of string constants can be deferred
and output only if referenced in the function after all optimizations.
- The TREE_CST_RTL of EXP is set up to point to that rtx.
The const_hash_table records which constants already have label strings. */
rtx
@@ -2565,12 +2562,6 @@ output_constant_def (exp, defer)
int hash;
struct constant_descriptor_tree *desc;
- /* We can't just use the saved RTL if this is a deferred string constant
- and we are not to defer anymore. */
- if (TREE_CST_RTL (exp)
- && (defer || !STRING_POOL_ADDRESS_P (XEXP (TREE_CST_RTL (exp), 0))))
- return TREE_CST_RTL (exp);
-
/* Compute hash code of EXP. Search the descriptors for that hash code
to see if any of them describes EXP. If yes, the descriptor records
the label number already assigned. */
@@ -2597,7 +2588,6 @@ output_constant_def (exp, defer)
maybe_output_constant_def_contents (exp, desc->rtl, 0);
}
- TREE_CST_RTL (exp) = desc->rtl;
return desc->rtl;
}