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++/26714] violation of [class.temporary]/5


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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-11-05 03:28:18 UTC ---
Author: jason
Date: Sat Nov  5 03:28:14 2011
New Revision: 181002

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181002
Log:
    PR c++/26714
    * init.c (perform_member_init): Strip TARGET_EXPR around NSDMI.
    Do temporary lifetime extension.

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