re PR c++/83897 (Useless __builtin_unreachable () emitted by the C++ FE)
authorJakub Jelinek <jakub@redhat.com>
Wed, 17 Jan 2018 21:08:36 +0000 (22:08 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 17 Jan 2018 21:08:36 +0000 (22:08 +0100)
commit78a5fce0915a9077f814d05b05277c926032cffa
treedd9d5226029d277eaf44525ba6843b889072f2e2
parenta99670f923dec07fe1b2813419f33e0cd18e091e
re PR c++/83897 (Useless __builtin_unreachable () emitted by the C++ FE)

PR c++/83897
* cp-gimplify.c (cp_maybe_instrument_return): Handle
CLEANUP_POINT_EXPR.

* g++.dg/cpp0x/pr83897.C: New test.

From-SVN: r256819
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr83897.C [new file with mode: 0644]