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++/67846] ICE on code with lambda expression on x86_64-linux-gnu in check_return_expr, at cp/typeck.c:8609


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67846

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Nov  5 16:47:40 2015
New Revision: 229819

URL: https://gcc.gnu.org/viewcvs?rev=229819&root=gcc&view=rev
Log:
/cp
2015-11-05  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/67846
        * parser.c (cp_parser_lambda_body): Check lambda_return_type
        return value.
        * typeck2.c (cxx_incomplete_type_diagnostic): Print member or
        member function used invalidly.

/testsuite
2015-11-05  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/67846
        * g++.dg/cpp0x/lambda/lambda-ice15.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice15.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog

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