decl.c (cxx_maybe_build_cleanup): When clearing location of cleanup...
authorJakub Jelinek <jakub@redhat.com>
Wed, 16 Oct 2019 22:19:13 +0000 (00:19 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 16 Oct 2019 22:19:13 +0000 (00:19 +0200)
commit606358faa6dbcebb271c1eb9b269a93374fba784
tree55866dc71381db11539b5b330089d26094286b7a
parente5b04038edcea3b3f65dec5bd34a0d018b45c1b1
decl.c (cxx_maybe_build_cleanup): When clearing location of cleanup...

* decl.c (cxx_maybe_build_cleanup): When clearing location of cleanup,
if cleanup is a nop, clear location of its operand too.

From-SVN: r277084
gcc/cp/ChangeLog
gcc/cp/decl.c