diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-16 16:55:27 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-16 16:55:27 +0000 |
commit | ff44adf2e118be6db337584d627d3e9637b876d3 (patch) | |
tree | 252065baee12c4b6545a47616cc3a36114d3be22 /libquadmath/quadmath_weak.h | |
parent | a6c9569e6a465cd066543232b4d45f700e82addb (diff) | |
download | gcc-ff44adf2e118be6db337584d627d3e9637b876d3.tar.gz |
PR fortran/46625
* quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
* quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
(strtoflt128, quadmath_flt128tostr): Add.
* gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
(strtoflt128): ... this. Return __float128, instead of writing
to memory pointed by last argument.
* quadmath.h: Use C style comments instead of C++ style.
(quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
(strtoflt128, quadmath_flt128tostr): Add prototypes.
* libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
(quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
adjust examples.
* quadmath_io.c (quadmath_dtoaq): Rename to...
(quadmath_flt128tostr): ... this.
libgfortran/
* io/write_float.def (DTOAQ): Use quadmath_flt128tostr
instead of quadmath_dtoa.
* io/transfer128.c (tmp1, tmp2): New variables, bring in
strtoflt128 and quadmath_flt128tostr.
(transfer_real128, transfer_real128_write, transfer_complex128,
transfer_complex128_write): Remove tmp1/tmp2 variables.
* io/read.c (convert_real): Use strtoflt128 instead of
quadmath_strtopQ, adjust for the changed arguments and return
value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168856 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libquadmath/quadmath_weak.h')
-rw-r--r-- | libquadmath/quadmath_weak.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libquadmath/quadmath_weak.h b/libquadmath/quadmath_weak.h index 28cc14ad8bb..23fef22c7a4 100644 --- a/libquadmath/quadmath_weak.h +++ b/libquadmath/quadmath_weak.h @@ -130,8 +130,8 @@ __qmath3 (ctanq) __qmath3 (ctanhq) -// Prototypes for our I/O functions -__qmath3 (quadmath_strtopQ) -__qmath3 (quadmath_dtoaq) +// Prototypes for string <-> flt128 conversion functions +__qmath3 (strtoflt128) +__qmath3 (quadmath_flt128tostr) #endif |