This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libstdc++ PATCH] Add support for std::uncaught_exceptions
- From: Daniel Gutson <daniel dot gutson at tallertechnologies dot com>
- To: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- Cc: libstdc++ at gcc dot gnu dot org, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Federico Lenarduzzi <federico dot lenarduzzi at tallertechnologies dot com>
- Date: Wed, 15 Apr 2015 14:10:23 -0300
- Subject: Re: [libstdc++ PATCH] Add support for std::uncaught_exceptions
- Authentication-results: sourceware.org; auth=none
- References: <CAFk2RUZVEL2fk4AGeTzzXX=09UtAiyUScxXomo8xz6rFo2=oag at mail dot gmail dot com>
Hi Ville,
On Sun, Apr 12, 2015 at 8:24 PM, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
> The patch is a bit large since it does the baseline_symbols regeneration
> and other new-version api-dance.
> Hence attached gzipped.
>
> Tested on Linux x86-64.
>
> 2015-04-13 Ville Voutilainen <ville.voutilainen@gmail.com>
> Add support for std::uncaught_exceptions.
> * acinclude.m4: Bump libtool_VERSION.
> * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerate.
> * config/abi/pre/gnu.ver: Export the new symbol.
> * configure: Bump libtool_VERSION.
> * libsupc++/eh_catch.cc(uncaught_exceptions): New.
You might want to check this thread
https://gcc.gnu.org/ml/libstdc++/2015-04/msg00104.html
which is specially useful when creating multilibs with and without exceptions
and enabling linker's sections garbage collection.
Maybe you could commit the change for both uncaught_exception and
uncaught_exceptions?
Daniel.
> * libsupc++/exception(uncaught_exceptions): Ditto.
> * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc: New.
> * testsuite/util/testsuite_abi.cc: Add 3.4.22 as the latest version.
--
Daniel F. Gutson
Chief Engineering Officer, SPD
San Lorenzo 47, 3rd Floor, Office 5
CÃrdoba, Argentina
Phone: +54 351 4217888 / +54 351 4218211
Skype: dgutson
LinkedIn: http://ar.linkedin.com/in/danielgutson