diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-04 16:40:16 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-04 16:40:16 +0000 |
commit | 581d1e0f9f40e56688785ba57fddbe1c7c3b2bab (patch) | |
tree | e08451dcdd44dc114da8006d10d8c6ed3a20b987 /gcc/df-scan.c | |
parent | b1d49c62ac6ba07b2d4cee7d6087eb7f8833075b (diff) | |
download | gcc-581d1e0f9f40e56688785ba57fddbe1c7c3b2bab.tar.gz |
PR middle-end/56729
* df-scan.c (df_insn_delete): Disable failing assert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197492 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-scan.c')
-rw-r--r-- | gcc/df-scan.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/df-scan.c b/gcc/df-scan.c index fdfa93190ce..e8ee1892ef8 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -1158,8 +1158,17 @@ df_insn_delete (rtx insn) In any case, we expect BB to be non-NULL at least up to register allocation, so disallow a non-NULL BB up to there. Not perfect but better than nothing... */ - + /* ??? bb can also be NULL if lower-subreg.c:resolve_simple_mov emits + an insn into a sequence and then does delete_insn on it. Not sure + if that makes sense, but for now it means this assert cannot work. + See PR56738. + Disable for now but revisit before the end of GCC 4.9 stage1. */ +#if 0 gcc_checking_assert (bb != NULL || reload_completed); +#else + if (bb == NULL) + return; +#endif df_grow_bb_info (df_scan); df_grow_reg_info (); |