diff options
author | Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> | 1999-04-17 21:33:24 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-04-17 14:33:24 -0700 |
commit | 695ab36a1f65a94647cb24e61772af444b8f51d9 (patch) | |
tree | cd02e492fd315a7d33e4f2ca693d55f46b175223 /gcc/gcse.c | |
parent | 3af4bd89433b88aa8b04e0b9cb4868a0f41db962 (diff) | |
download | gcc-695ab36a1f65a94647cb24e61772af444b8f51d9.zip gcc-695ab36a1f65a94647cb24e61772af444b8f51d9.tar.gz gcc-695ab36a1f65a94647cb24e61772af444b8f51d9.tar.bz2 |
Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* gcse.c (compute_local_properties): If setp is nonzero, clear
TRANSP instead of setting it to all ones.
From-SVN: r26528
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -928,7 +928,8 @@ free_gcse_mem () SETP controls which hash table to look at. If zero, this routine looks at the expr hash table; if nonzero this routine looks at - the set hash table. */ + the set hash table. Additionally, TRANSP is computed as ~TRANSP, + since this is really cprop's ABSALTERED. */ static void compute_local_properties (transp, comp, antloc, setp) @@ -942,7 +943,12 @@ compute_local_properties (transp, comp, antloc, setp) /* Initialize any bitmaps that were passed in. */ if (transp) - sbitmap_vector_ones (transp, n_basic_blocks); + { + if (setp) + sbitmap_vector_zero (transp, n_basic_blocks); + else + sbitmap_vector_ones (transp, n_basic_blocks); + } if (comp) sbitmap_vector_zero (comp, n_basic_blocks); if (antloc) |