http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46625
Summary: libquadmath: Mangle internal symbols; rename __float128 <-> string functions Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: bur...@gcc.gnu.org For libquadmath.a it makes sense to mangle non-exported symbols, e.g. by prefixing them with __quadmath_ quadmath_strtopQ and quadmath_dtoaq look ugly, Jakub suggests: quadmath_strtoq and quadmath_qtostr C example (to have one somewhere): /* Compile with gcc test.c -lquadmath -lm shows: :+1.41421356237309504880e+00: :+1.2345678000e-05: */ #include <quadmath.h> #include <stdio.h> int main() { __float128 r; char str[200]; r = 2.0q; r = sqrtq(r); quadmath_dtoaq (str, 200, 20, r); printf(":%s:\n", str); quadmath_strtopQ ("1.2345678", NULL, &r); r = r/100000.0q; quadmath_dtoaq (str, 200, 10, r); printf(":%s:\n", str); return 0; }