public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/46625] libquadmath: Mangle internal symbols; rename __float128 <-> string functions
Date: Sun, 16 Jan 2011 17:16:00 -0000	[thread overview]
Message-ID: <bug-46625-4-eSjXc4q7c9@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-46625-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46625

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-16 16:55:30 UTC ---
Author: jakub
Date: Sun Jan 16 16:55:27 2011
New Revision: 168856

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168856
Log:
    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.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/read.c
    trunk/libgfortran/io/transfer128.c
    trunk/libgfortran/io/write_float.def
    trunk/libquadmath/ChangeLog
    trunk/libquadmath/gdtoa/strtopQ.c
    trunk/libquadmath/libquadmath.texi
    trunk/libquadmath/quadmath.h
    trunk/libquadmath/quadmath.map
    trunk/libquadmath/quadmath_io.c
    trunk/libquadmath/quadmath_weak.h


      parent reply	other threads:[~2011-01-16 16:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-23 18:41 [Bug fortran/46625] New: " burnus at gcc dot gnu.org
2010-12-01 12:47 ` [Bug fortran/46625] " burnus at gcc dot gnu.org
2010-12-03  8:44 ` burnus at gcc dot gnu.org
2010-12-08 22:43 ` burnus at gcc dot gnu.org
2010-12-11 17:48 ` burnus at gcc dot gnu.org
2010-12-13 19:45 ` burnus at gcc dot gnu.org
2010-12-13 19:59 ` burnus at gcc dot gnu.org
2011-01-16 17:16 ` jakub at gcc dot gnu.org [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-46625-4-eSjXc4q7c9@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).