cse.c (invalidate_for_call): Do not remove memory references from the table here.
authorJeffrey A Law <law@cygnus.com>
Mon, 18 Oct 1999 23:05:03 +0000 (23:05 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 18 Oct 1999 23:05:03 +0000 (17:05 -0600)
        * cse.c (invalidate_for_call): Do not remove memory references from
        the table here.  It's handled elsewhere.

From-SVN: r30076

gcc/ChangeLog
gcc/cse.c

index 1de8bac157cb43274b47e081b16dc74f9d3a34cd..dbcc8ca4bb267694cdb7868415b0c15e9adad3a1 100644 (file)
@@ -24,6 +24,9 @@ Mon Oct 18 02:38:46 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
 
 Mon Oct 18 01:41:35 1999  Jeffrey A Law  (law@cygnus.com)
 
+       * cse.c (invalidate_for_call): Do not remove memory references from
+       the table here.  It's handled elsewhere.
+
        * haifa-sched.c (add_dependence): Protect references to the
        true dependency cache with #ifdef INSN_SCHEDULING.
        (remove_dependence): Similarly.
index 3993f5ea0a3502904ddee38270bd6ae1cb0ad75c..edb4678702c86ecba619e35231a0ca436059ddce 100644 (file)
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -2009,12 +2009,6 @@ invalidate_for_call ()
        {
          next = p->next_same_hash;
 
-         if (p->in_memory)
-           {
-             remove_from_table (p, hash);
-             continue;
-           }
-
          if (GET_CODE (p->exp) != REG
              || REGNO (p->exp) >= FIRST_PSEUDO_REGISTER)
            continue;