https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50201
--- Comment #13 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Sat, Dec 05, 2015 at 12:26:14AM +0000, jouko.orava at iki dot fi wrote: > I suspect the bug occurs because libgfortran uses the weak symbol version of > quadmath_snprintf(). Unfortunately, I don't have the resources to verify this > in the near future. > > If you could recompile gcc/gfortran with the attached patch applied, and check > my test case in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50201#c9 I would > be very grateful. > I've tested your patch on i386-*-freebsd. It works. Do you have commit privilege for the source tree? The patch with a testcase is ok.