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 NOTE_P DECL_RTL as if it was optimized away. > > Bootstrap / regtest running on x86_64-unknown-linux-gnu. > > Richard. > > 2019-06-18 Richard Biener <rguent...@suse.de> > > PR debug/90900 > * cfgexpand.c (expand_debug_expr): Treat NOTE_P DECL_RTL > as if optimized away. > > * gcc.dg/gomp/pr90900.c: New testcase.
LGTM, thanks. Jakub