PR gdb/18669 libiberty demangle.test failure: strtod() on sparc-sun-solaris2.9
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 11 Aug 2015 06:51:05 +0000 (08:51 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Tue, 11 Aug 2015 07:14:12 +0000 (09:14 +0200)
commit30379291886a171e6dc202122bc1c583318c2e17
tree49b7398e2b12604f106f2407003db769236e4bbc
parent125453567f4a0abc68cfc67a3df46be1aa9bb904
PR gdb/18669 libiberty demangle.test failure: strtod() on sparc-sun-solaris2.9

Test symbols did not demangle as per the d-demangle-expected tests because
strtod() on Solaris 9 does not accept hexadecimal numbers.

This has now been fixed up so that no attempt at formatting/converting the
demangled hexadecimal literals are done.

libiberty/ChangeLog:

2015-08-11  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.
libiberty/ChangeLog
libiberty/d-demangle.c
libiberty/testsuite/d-demangle-expected