you added seemingly pointless implementations of __upcast_result's
copy constructor and assignment operator; these versions are almost
identical to the implicit definitions. On HP-UX in ILP32 mode, this
change is causing several G++ testsuite failures relating to upcasts
during EH processing.
Wow.
Well, I added these so that -Weffc++ could be used in CXXFLAGS while
building libstdc++. This was a longstanding issue w/ v3 that was an
annoyance to several C++ maintainers (myself included, naturally!).
Just out of curiosity, can't you also change this (AFAICT) textbook C++
to something that doesn't check for self, and produce equivalent code to
the implicitly generated functions? If not, is there a way to produce
equivalent code with explicit definitions? I'm surprised that there's
such a difference: can you humor me with additional details?