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++/57745] missing recursive lifetime extension within std::initializer_list


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?

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