diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-09-12 15:07:50 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-09-12 15:07:50 +0000 |
commit | d2399d75150d38f714a7e55f44ac1b117896991e (patch) | |
tree | b74dbfb654b2ba729bd9d180dd9845f8532b8c0e /gcc/tree-inline.c | |
parent | f0f4da3220c5b0c14d0e88ec57ff1bc5c5e0f367 (diff) | |
download | gcc-d2399d75150d38f714a7e55f44ac1b117896991e.zip gcc-d2399d75150d38f714a7e55f44ac1b117896991e.tar.gz gcc-d2399d75150d38f714a7e55f44ac1b117896991e.tar.bz2 |
re PR rtl-optimization/8967 (Making class data members `const' pessimizes code)
PR optimization/8967
* alias.c (write_dependence_p): Modify to take an additional constp
argument that controls whether the UNCHANGING_RTX_P flags are used.
(anti_dependence, output_dependence): Adjust write_dependence_p
callers to pass this additional argument, to return the same result.
(unchanging_anti_dependence): New variant of anti_dependence that
ignores the UNCHANGING_RTX_P property on memory references.
* rtl.h (unchaning_anti_dependence): Prototype here.
* flow.c (init_propagate_block): Place fake constant mem writes on
the mem_set_list so that dead writes to const variables are deleted.
(insn_dead_p): Change anti_dependence to unchanging_anti_dependence.
(mark_used_regs): Likewise.
From-SVN: r71332
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions