This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57745] missing recursive lifetime extension within std::initializer_list
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 08 Jun 2016 11:25:25 +0000
- Subject: [Bug c++/57745] missing recursive lifetime extension within std::initializer_list
- Auto-submitted: auto-generated
- References: <bug-57745-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57745
--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> ---
A()
A()
-----
~C()
~B()
~B()
~A()
~A()
This is what I am getting from all recent versions of g++ (including 4.9.N) and
clang++ (as opposed to both ~A before ---- in 4.8.N). That's not the exact
order asked in the report, is it still wrong or can we consider it fixed?