aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2013-03-22 16:37:24 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2013-03-22 16:37:24 +0000
commit1e8a79379d8ff958f8a2eab8a3176e239e9b47a6 (patch)
tree1b137c16326635a4ed85226e1548cf90412f066f /gcc
parent80eb8028ebbb183885946c80402b59dcbd002f69 (diff)
downloadgcc-1e8a79379d8ff958f8a2eab8a3176e239e9b47a6.zip
gcc-1e8a79379d8ff958f8a2eab8a3176e239e9b47a6.tar.gz
gcc-1e8a79379d8ff958f8a2eab8a3176e239e9b47a6.tar.bz2
df.h (df_insn_delete): Adjust prototype.
* df.h (df_insn_delete): Adjust prototype. * emit-rtl.c (remove_insn): Pass a basic block to df_insn_delete and let it decide whether mark the basic block dirty. (set_insn_deleted): Only pass INSN_P insns to df_insn_delete. * df-scan.c (df_insn_info_delete): New helper function, split off from df_insn_delete. (df_scan_free_bb_info): Use it. (df_insn_rescan, df_insn_rescan_all, df_process_deferred_rescans): Likewise. (df_insn_delete): Likewise. Take insn rtx as argument. Verify that the insn is actually an insn and it has a non-NULL basic block. Do not mark basic block dirty if only deleting a DEBUG_INSN. From-SVN: r196978
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ed32476..583b47a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,18 @@
+2013-03-22 Steven Bosscher <steven@gcc.gnu.org>
+
+ * df.h (df_insn_delete): Adjust prototype.
+ * emit-rtl.c (remove_insn): Pass a basic block to df_insn_delete
+ and let it decide whether mark the basic block dirty.
+ (set_insn_deleted): Only pass INSN_P insns to df_insn_delete.
+ * df-scan.c (df_insn_info_delete): New helper function, split
+ off from df_insn_delete.
+ (df_scan_free_bb_info): Use it.
+ (df_insn_rescan, df_insn_rescan_all, df_process_deferred_rescans):
+ Likewise.
+ (df_insn_delete): Likewise. Take insn rtx as argument. Verify
+ that the insn is actually an insn and it has a non-NULL basic block.
+ Do not mark basic block dirty if only deleting a DEBUG_INSN.
+
2013-03-22 Richard Biener <rguenther@suse.de>
* tree-ssa-loop-im.c (struct mem_ref): Remove indep_ref and