Re: [PATCH] Fix PR90901, debug-expr expansion of deleted labels

2019-06-18 Thread Jakub Jelinek
On Tue, Jun 18, 2019 at 10:15:45AM +0200, Richard Biener wrote: > > The following deals with > (note/s 5 0 0 ("lab") NOTE_INSN_DELETED_LABEL 2) > appearing in DECL_RTL of LABEL_DECLs which expand_debug_expr doesn't > expect. copy_rtx cannot deal with any notes so the following simply > treats N

[PATCH] Fix PR90901, debug-expr expansion of deleted labels

2019-06-18 Thread Richard Biener
The following deals with (note/s 5 0 0 ("lab") NOTE_INSN_DELETED_LABEL 2) appearing in DECL_RTL of LABEL_DECLs which expand_debug_expr doesn't expect. copy_rtx cannot deal with any notes so the following simply treats NOTE_P DECL_RTL as if it was optimized away. Bootstrap / regtest running on