This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50508] New: [C++0x] ICE cxx_eval_logical_expression cp/semantics.c:6487 4.61/4.7 converting std::intergal_constant to bool with &&
- From: "fuchsia.groan at virgin dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 24 Sep 2011 16:03:16 +0000
- Subject: [Bug c++/50508] New: [C++0x] ICE cxx_eval_logical_expression cp/semantics.c:6487 4.61/4.7 converting std::intergal_constant to bool with &&
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50508
Bug #: 50508
Summary: [C++0x] ICE cxx_eval_logical_expression
cp/semantics.c:6487 4.61/4.7 converting
std::intergal_constant to bool with &&
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: fuchsia.groan@virgin.net
/* This ICEd the official mingw 4.6.1 with: 'internal compiler error: in
cxx_eval_logical_expression at cp/semantics.c:6487'
(I had the same result on gcc 4.7.0 20110813 from www.equation.com)
*/
#include <type_traits>
static constexpr bool value = std::integral_constant<bool,true>()
&& std::integral_constant<bool,true>();