[Bug c++/50508] [C++0x] ICE cxx_eval_logical_expression cp/semantics.c:6487

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 27 02:15:00 GMT 2011


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-27 02:12:46 UTC ---
Author: jason
Date: Tue Sep 27 02:12:42 2011
New Revision: 179228

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179228
Log:
    PR c++/50508
    * semantics.c (cxx_eval_logical_expression): Use tree_int_cst_equal
    rather than ==.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-typedef1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list