This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52613] New: [C++11] ICE with noexcept in lambda expression in member function of class template
- From: "ai.azuma at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Mar 2012 09:57:32 +0000
- Subject: [Bug c++/52613] New: [C++11] ICE with noexcept in lambda expression in member function of class template
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52613
Bug #: 52613
Summary: [C++11] ICE with noexcept in lambda expression in
member function of class template
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ai.azuma@gmail.com
Created attachment 26914
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26914
Output of -v option and preprocessed file
The following valid code causes an ICE.
///////////////////////////
template<typename>
struct S
{
void f()
{
[&] { noexcept(!b_); };
}
bool b_;
};
///////////////////////////
main.cpp: In lambda function:
main.cpp:6:21: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.