This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52613] New: [C++11] ICE with noexcept in lambda expression in member function of class template


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]