This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] PR 18669: Remove use of strtod in libiberty/d-demangle.c
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Iain Buclaw <ibuclaw at gdcproject dot org>
- Cc: GDB Patches <gdb-patches at sourceware dot org>
- Date: Tue, 4 Aug 2015 10:07:10 -0700
- Subject: Re: [PATCH] PR 18669: Remove use of strtod in libiberty/d-demangle.c
- Authentication-results: sourceware.org; auth=none
- References: <CABOHX+ecW-F6sMWF-OMH+Ojxxm+=EpaY5b-OEWhU1yNoX1kTng at mail dot gmail dot com>
> Also submitted to upstream GCC.
>
> https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00192.html
>
> Have tested this against the gdb dlang testsuite and observed no
> failing tests as a result.
>
> Regards
> Iain.
> 2015-08-04 Iain Buclaw <ibuclaw@gdcproject.org>
>
> * d-demangle.c (dlang_parse_real): Remove call to strtod.
> (strtod): Remove declaration.
> * testsuite/d-demangle-expected: Update float and complex literal
> tests to check correct hexadecimal demangling.
GCC is the master, so you can (in fact, should!) update the binutils-gdb
copy as soon as the patch is approved on the GCC side.
Thank you,
--
Joel