V3 patch causes EH failures in ILP32 mode
Gabriel Dos Reis
gdr@acm.org
Thu Jun 24 00:49:00 GMT 2004
You Wrote Mark Mitchell
>
> In:
>
> 2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
>
> * libsupc++/cxxabi.h: Remove duplicated and useless public and
> private keywords in class declarations. Format. Use
> stddef.h. Expose declarations to "C" compilation.
> * libsupc++/tinfo.cc (__upcast_result): Add copy constructor and
> assignment operator.
> (__dyncast_result): Same.
> * libsupc++/vec.cc (uncatch_exception): Same, use member
> initialization list.
>
> 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.
I missed that change. I believe it was done to shut up -Weffec++.
If it were up to me, I would remove -Weffec++ from the compiler.
More information about the Libstdc++
mailing list