diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-18 06:02:12 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-18 06:02:12 +0000 |
commit | 890dcf621cea4d25da4a0a7126727c6533c14e95 (patch) | |
tree | bd0af6b40057788653e4f04b74888fc6bde2f774 /gcc/df-scan.c | |
parent | ffacc6e9cf02d27378ffedb24080e4fd2aa0ce6f (diff) | |
download | gcc-890dcf621cea4d25da4a0a7126727c6533c14e95.tar.gz |
* df-scan.c (df_ref_create): Don't mark BB as dirty on debug insns.
(df_ref_remove): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154278 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-scan.c')
-rw-r--r-- | gcc/df-scan.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/df-scan.c b/gcc/df-scan.c index 101234b55bc..c12c00e8a4e 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -829,7 +829,8 @@ df_ref_create (rtx reg, rtx *loc, rtx insn, /* By adding the ref directly, df_insn_rescan my not find any differences even though the block will have changed. So we need to mark the block dirty ourselves. */ - df_set_bb_dirty (bb); + if (!DEBUG_INSN_P (DF_REF_INSN (ref))) + df_set_bb_dirty (bb); return ref; } @@ -1027,7 +1028,8 @@ df_ref_remove (df_ref ref) /* By deleting the ref directly, df_insn_rescan my not find any differences even though the block will have changed. So we need to mark the block dirty ourselves. */ - df_set_bb_dirty (DF_REF_BB (ref)); + if (!DEBUG_INSN_P (DF_REF_INSN (ref))) + df_set_bb_dirty (DF_REF_BB (ref)); df_reg_chain_unlink (ref); } |