re PR debug/90900 (ICE in copy_rtx, at rtl.c:376)
authorRichard Biener <rguenther@suse.de>
Tue, 18 Jun 2019 13:56:24 +0000 (13:56 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 18 Jun 2019 13:56:24 +0000 (13:56 +0000)
commitaa61ac43e06d21a48d25da62ece852b2fc60d7f2
tree78dff71a529068a89330cd60b701d908a0e1bdb8
parenta9b6c90c5db3af10bae59db568c68002d8ed9969
re PR debug/90900 (ICE in copy_rtx, at rtl.c:376)

2019-06-18  Richard Biener  <rguenther@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.

From-SVN: r272421
gcc/ChangeLog
gcc/cfgexpand.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/pr90900.c [new file with mode: 0644]