OSDN Git Service

* gcse.c (hash_scan_set): Remove incorrect ! optimize_size check.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Oct 1999 08:53:48 +0000 (08:53 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Oct 1999 08:53:48 +0000 (08:53 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30054 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcse.c

index 032482b..b413b02 100644 (file)
@@ -1,3 +1,17 @@
+Sun Oct 17 02:09:50 1999  Andrew MacLeod  <amacleod@cygnus.com>
+
+       * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
+       Prototype for exported functions.
+       (pre_lcm, pre_rev_lcm): Remove prototypes.
+       * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
+       (compute_available): Move to lcm.c, and change parameter order.
+       (one_classic_gcse_pass): Call compute_ae_kill with parameters.
+       (pre_insert): Delete.
+       
+       * lcm.c: Remove all the old LCM functions.  Replace with new ones
+       that work with the new cfg datastructures and work with edges
+       instead of blocks.
+
 Sun Oct 17 00:44:17 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
 
        * reload.h (struct reload): Add new fields "mode" and "nregs".
index f43f382..bb6dfd8 100644 (file)
@@ -1912,7 +1912,7 @@ hash_scan_set (pat, insn, set_p)
        {
          /* An expression is not anticipatable if its operands are
             modified before this insn.  */
-         int antic_p = ! optimize_size && oprs_anticipatable_p (src, insn);
+         int antic_p = oprs_anticipatable_p (src, insn);
          /* An expression is not available if its operands are
             subsequently modified, including this insn.  */
          int avail_p = oprs_available_p (src, insn);