[Bug c++/102234] internal compiler error: in type_memfn_rqual, at cp/typeck.c:10389

sin-ack at protonmail dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 7 20:38:55 GMT 2021


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

--- Comment #2 from sin-ack <sin-ack at protonmail dot com> ---
An important thing to note is that when the destructor is private, the ICE
occurs. In the original code, when I made the desructor public (after adding
the forgotten public: before the destructor), the code will successfully
compile.


More information about the Gcc-bugs mailing list