This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50508] [C++0x] ICE cxx_eval_logical_expression cp/semantics.c:6487
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 Sep 2011 02:19:00 +0000
- Subject: [Bug c++/50508] [C++0x] ICE cxx_eval_logical_expression cp/semantics.c:6487
- Auto-submitted: auto-generated
- References: <bug-50508-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50508
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-27 02:19:00 UTC ---
Author: jason
Date: Tue Sep 27 02:18:56 2011
New Revision: 179231
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179231
Log:
PR c++/50508
* semantics.c (cxx_eval_logical_expression): Use tree_int_cst_equal
rather than ==.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-typedef1.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/semantics.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog