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++/66139] destructor not called for members of partially constructed anonymous struct/array


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139

--- Comment #12 from Xi Ruoyao <ryxi at stu dot xidian.edu.cn> ---
(In reply to Jaak Ristioja from comment #9)
>   [1]: http://stackoverflow.com/a/43892501/3919155

I don't think this is the same bug.
This bug seems happening because GCC created "constexpr B::B(void)", but
actually
it throws, so can not be constexpr.

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