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++/52487] [4.6/4.7/4.8 Regression] [C++11] ICE at cp/semantics.c:5613 with lambda capturing reference to incomplete type by value


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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-03-23 00:35:38 UTC ---
Author: paolo
Date: Fri Mar 23 00:35:33 2012
New Revision: 185722

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185722
Log:
/cp
2012-03-22  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/52487
    * class.c (check_field_decls): Call literal_type_p only
    on complete types.

/testsuite
2012-03-22  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/52487
    * g++.dg/cpp0x/lambda/lambda-ice7.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.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]