re PR c++/66001 (ICE when NSDMI in a literal class uses a destructor)
authorJason Merrill <jason@redhat.com>
Thu, 18 Jun 2015 14:55:23 +0000 (10:55 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 18 Jun 2015 14:55:23 +0000 (10:55 -0400)
commit769430b29ce63353fa10f5122e406578eaea3328
tree06a7f084677619ac8ab0087fe06bf716fe115ce9
parent7e92772131fbcdc934c6ebf5cce8c8e3053554a7
re PR c++/66001 (ICE when NSDMI in a literal class uses a destructor)

PR c++/66001
* constexpr.c (cxx_eval_constant_expression): Handle TRY_BLOCK and
TRY_FINALLY_EXPR.
(potential_constant_expression_1): Likewise.

From-SVN: r224620
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp0x/nsdmi12.C [new file with mode: 0644]