From 3cce638b2b10ea1657b9d15f911dc4ff71ce64a8 Mon Sep 17 00:00:00 2001 From: Andrew MacLeod Date: Sun, 17 Oct 1999 08:53:48 +0000 Subject: [PATCH] * gcse.c (hash_scan_set): Remove incorrect ! optimize_size check. From-SVN: r30054 --- gcc/ChangeLog | 14 ++++++++++++++ gcc/gcse.c | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 032482bf2fb..b413b027a14 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,17 @@ +Sun Oct 17 02:09:50 1999 Andrew MacLeod + + * 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 * reload.h (struct reload): Add new fields "mode" and "nregs". diff --git a/gcc/gcse.c b/gcc/gcse.c index f43f3823c42..bb6dfd82267 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -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); -- 2.30.2