]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
emit-rtl.c (gen_complex_constant_part): Remove unnecessary test of TREE_CONSTANT_POOL...
authorRoger Sayle <roger@eyesopen.com>
Mon, 2 Jun 2003 14:19:24 +0000 (14:19 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Mon, 2 Jun 2003 14:19:24 +0000 (14:19 +0000)
* 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

gcc/ChangeLog
gcc/emit-rtl.c

index 4a21b0a081d58b96adb59654e5be606bf6940f93..007a87c29a797e85c3967a0ddf35ff9696f126c0 100644 (file)
@@ -1,3 +1,9 @@
+2003-06-02  Roger Sayle  <roger@eyesopen.com>
+           Zack Weinberg  <zack@codesourcery.com>
+
+       * emit-rtl.c (gen_complex_constant_part):  Remove unnecessary
+       test of TREE_CONSTANT_POOL_ADDRESS_P.
+
 2003-06-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * mips.c: Don't include output.h twice.
index 8004cfb9e087bfc36672f1834b4265aa98124f40..de6e94cb5506f2fa62fe5cee7f7baba68c5b032c 100644 (file)
@@ -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)