except.c (build_noexcept_spec): Call cxx_constant_value after converting to bool.
authorJason Merrill <jason@redhat.com>
Mon, 28 Mar 2011 15:49:45 +0000 (11:49 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 28 Mar 2011 15:49:45 +0000 (11:49 -0400)
commit0309d28824f040972a212183b34c45d59449b529
treeb18476f78bf9581d99d71e5b9559262a3071a804
parent7450b54f8413bd7be5d0a822f42ad1a24b84582c
except.c (build_noexcept_spec): Call cxx_constant_value after converting to bool.

* except.c (build_noexcept_spec): Call cxx_constant_value after
converting to bool.

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