aboutsummaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2003-06-02 14:19:24 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2003-06-02 14:19:24 +0000
commit4c2da7f2a7a9c6696931db5f5954240bfa7578ee (patch)
tree29c5440c2d791583dc8372c1b753839af9a681cc /gcc/emit-rtl.c
parente91e4f6ceea7584e06dafa3aca1ad62167fe8621 (diff)
downloadgcc-4c2da7f2a7a9c6696931db5f5954240bfa7578ee.zip
gcc-4c2da7f2a7a9c6696931db5f5954240bfa7578ee.tar.gz
gcc-4c2da7f2a7a9c6696931db5f5954240bfa7578ee.tar.bz2
emit-rtl.c (gen_complex_constant_part): Remove unnecessary test of TREE_CONSTANT_POOL_ADDRESS_P.
* emit-rtl.c (gen_complex_constant_part): Remove unnecessary test of TREE_CONSTANT_POOL_ADDRESS_P. Co-Authored-By: Zack Weinberg <zack@codesourcery.com> From-SVN: r67331
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 8004cfb..de6e94c 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -1316,8 +1316,7 @@ gen_complex_constant_part (mode, x, imagpart_p)
tree decl, part;
if (GET_CODE (x) == MEM
- && GET_CODE (XEXP (x, 0)) == SYMBOL_REF
- && TREE_CONSTANT_POOL_ADDRESS_P (XEXP (x, 0)))
+ && GET_CODE (XEXP (x, 0)) == SYMBOL_REF)
{
decl = SYMBOL_REF_DECL (XEXP (x, 0));
if (decl != NULL_TREE && TREE_CODE (decl) == COMPLEX_CST)