[Bug c++/66139] destructor not called for members of partially constructed anonymous struct/array
majerech.o at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed May 10 15:45:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66139
--- Comment #13 from Ondřej Majerech <majerech.o at gmail dot com> ---
(In reply to Xi Ruoyao from comment #12)
> (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.
I would also think that to be a different bug, but when I reported that (bug
80683), it got marked as a duplicate of this one. Maybe the duplicate
classification of 80683 should be re-reviewed?
More information about the Gcc-bugs
mailing list