re PR c++/58837 ([c++11] ICE using invalid condition in static_assert)
authorJason Merrill <jason@redhat.com>
Tue, 28 Jan 2014 04:30:26 +0000 (23:30 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 28 Jan 2014 04:30:26 +0000 (23:30 -0500)
commit9cca4e3d1a29de999ebdab84ffa99aa11eedf64e
tree94279b7c6b142c9afdd09f878a2116c4b7861e95
parent64d34897909d2aafbe461490bd82951727fda20a
re PR c++/58837 ([c++11] ICE using invalid condition in static_assert)

PR c++/58837
* typeck.c (cp_truthvalue_conversion): Use explicit comparison for
FUNCTION_DECL.

From-SVN: r207162
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/g++.dg/cpp0x/static_assert9.C [new file with mode: 0644]