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++/58568] [4.8/4.9 Regression] [c++11] ICE with lambda in invalid template variable definition


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58568

--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Oct  8 22:29:49 2013
New Revision: 203290

URL: http://gcc.gnu.org/viewcvs?rev=203290&root=gcc&view=rev
Log:
/cp
2013-10-08  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58568
    * semantics.c (begin_lambda_type): Check return value of xref_tag
    for error_mark_node; tidy.
    * decl.c (grokdeclarator): Tweak error message.

/testsuite
2013-10-08  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58568
    * g++.dg/cpp0x/lambda/lambda-ice10.C: New.
    * g++.old-deja/g++.mike/misc9.C: Adjust.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice10.C
Modified:
    branches/gcc-4_8-branch/gcc/cp/ChangeLog
    branches/gcc-4_8-branch/gcc/cp/decl.c
    branches/gcc-4_8-branch/gcc/cp/semantics.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_8-branch/gcc/testsuite/g++.old-deja/g++.mike/misc9.C


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