diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-09 19:42:28 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-09 19:42:28 +0000 |
commit | 656c986c621b9fa2f7a6ffe3d50ed23ef87f6d7d (patch) | |
tree | c4f8be2760db2de845dd114a0113faa0df32b41a /gcc/ssa.c | |
parent | 704fcf2b9d7511389ff2c4ddfeb3ce433893aabd (diff) | |
download | gcc-656c986c621b9fa2f7a6ffe3d50ed23ef87f6d7d.tar.gz |
* Makefile.in (OBJS): Add ssa-ccp.o
(ssa-ccp.o): Add dependencies.
* toplev.c (DFI_ssa_ccp): New dump file enum.
(dump_file): Add entry for dumping after SSA CCP.
(flag_ssa_ccp): New flag variable.
(f_options): Add -fssa-ccp.
(rest_of_compilation): Run SSA CCP if requested.
* timevar.def (TV_SSA_CCP): New timevar.
* ssa.c (mark_phi_and_copy_regs): Handle deleted PHI nodes.
* doc/gcc.texi (Passes): Add documentation for SSA CCP pass.
Fix minor typo in SSA DCE documentation.
* doc/invoke.texi: Add documentation for new flag -fssa-ccp.
Add documentation for new dump option. Renumber dump files
appropriately.
* po/POTFILES.in: Add ssa-ccp.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43872 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ssa.c')
-rw-r--r-- | gcc/ssa.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ssa.c b/gcc/ssa.c index cad10ca71a6..0aeb92091f9 100644 --- a/gcc/ssa.c +++ b/gcc/ssa.c @@ -1924,7 +1924,9 @@ mark_phi_and_copy_regs (phi_set) rtx pattern; rtx src; - if (insn == NULL) + if (insn == NULL + || (GET_CODE (insn) == NOTE + && NOTE_LINE_NUMBER (insn) == NOTE_INSN_DELETED)) continue; pattern = PATTERN (insn); /* Sometimes we get PARALLEL insns. These aren't phi nodes or |