This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: V3 patch causes EH failures in ILP32 mode
- From: "Gabriel Dos Reis" <gdr at acm dot org>
- To: mark at codesourcery dot com
- Cc: bkoz at redhat dot com, zack at codesourcery dot com, libstdc++ at gcc dot gnu dot org,gcc at gcc dot gnu dot org
- Date: Thu, 24 Jun 2004 02:41:48 +0200 (CEST)
- Subject: Re: V3 patch causes EH failures in ILP32 mode
- References: <200406231741.i5NHfZbO019592@sirius.codesourcery.com>
- Reply-to: gdr at acm dot org
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.