[Bug c++/58837] [4.7/4.8/4.9 Regression] [c++11] ICE using invalid condition in static_assert

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 28 04:31:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58837

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jan 28 04:30:26 2014
New Revision: 207162

URL: http://gcc.gnu.org/viewcvs?rev=207162&root=gcc&view=rev
Log:
    PR c++/58837
    * typeck.c (cp_truthvalue_conversion): Use explicit comparison for
    FUNCTION_DECL.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/static_assert9.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c



More information about the Gcc-bugs mailing list