public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH,committed] PR fortran/50201 -- quadmath_snprintf isn't weak
@ 2015-12-05 23:36 Steve Kargl
  0 siblings, 0 replies; only message in thread
From: Steve Kargl @ 2015-12-05 23:36 UTC (permalink / raw)
  To: fortran, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 253 bytes --]

Committed to trunk and 5-bracnh after testing.

2015-12-05  Juoko Orava <jouko.orava@iki.fi>

    PR fortran/50201
    * io/write_float.def: Avoid marking quadmath_snprintf as an untyped
    weak reference, which fixing linking with -static.

-- 
Steve

[-- Attachment #2: write_float.def.diff --]
[-- Type: text/x-diff, Size: 829 bytes --]

Index: libgfortran/io/write_float.def
===================================================================
--- libgfortran/io/write_float.def	(revision 231314)
+++ libgfortran/io/write_float.def	(working copy)
@@ -938,7 +938,7 @@ snprintf (buffer, size, "%+-#.*Le", (pre
 
 #if defined(GFC_REAL_16_IS_FLOAT128)
 #define DTOA2Q(prec,val)							\
-__qmath_(quadmath_snprintf) (buffer, size, "%+-#.*Qe", (prec), (val))
+quadmath_snprintf (buffer, size, "%+-#.*Qe", (prec), (val))
 #endif
 
 #define FDTOA(suff,prec,val) TOKENPASTE(FDTOA2,suff)(prec,val)
@@ -953,7 +953,7 @@ snprintf (buffer, size, "%+-#.*Lf", (pre
 
 #if defined(GFC_REAL_16_IS_FLOAT128)
 #define FDTOA2Q(prec,val)			       \
-__qmath_(quadmath_snprintf) (buffer, size, "%+-#.*Qf", \
+quadmath_snprintf (buffer, size, "%+-#.*Qf", \
 			     (prec), (val))
 #endif
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-05 23:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-05 23:36 [PATCH,committed] PR fortran/50201 -- quadmath_snprintf isn't weak Steve Kargl

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).