This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add D demangling support to libiberty
- From: Ian Lance Taylor <iant at google dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Iain Buclaw <ibuclaw at gdcproject dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 14 Oct 2014 10:33:19 -0700
- Subject: Re: [PATCH] Add D demangling support to libiberty
- Authentication-results: sourceware.org; auth=none
- References: <CABOHX+dCTiefjwOTFfTC4Oa90dp7MaYm0M2T0GcByhB6Q7eO9A at mail dot gmail dot com> <CAKOQZ8xDYdUyi2O2a8HEEJki23DkP6ZT5V_s1dPo=qxeGwZVDA at mail dot gmail dot com> <CABOHX+dM9kwjzXoGGowXeKrUsM249ZYEc=TG5+XS1=TdZi32xQ at mail dot gmail dot com> <CABOHX+fo=Ac1tdoOup6VXqrDKK-jhWMisXZmmMqzh=qmCH+1Jg at mail dot gmail dot com> <20141014141244 dot GA17173 at adacore dot com> <CAKOQZ8y6DCBJpjt9WNGfH8_4RjfE7MFZ=kgRO-0OCYRJj+MOCw at mail dot gmail dot com> <CABOHX+fkVx2GEsv7M60SvQszvtx2tJpekwOG0g0Yn7nE_5nw9w at mail dot gmail dot com> <20141014170751 dot GG4805 at adacore dot com>
On Tue, Oct 14, 2014 at 10:07 AM, Joel Brobecker <brobecker@adacore.com> wrote:
>
> libiberty/ChangeLog:
>
> * d-demangle.c: Replace strtold with strtod in global comment.
> (strtold): Remove declaration.
> (strtod): New declaration.
> (dlang_parse_real): Declare value as double instead of long
> double. Replace call to strtold by call to strtod.
> Update format in call to snprintf.
This is OK.
Thanks.
Ian