[Bug c++/57745] missing recursive lifetime extension within std::initializer_list

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 8 11:25:00 GMT 2016


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?


More information about the Gcc-bugs mailing list