http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47571
--- Comment #12 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-01 16:26:33 UTC --- I concur with Jakub. If (big "if") I have understood weakrefs correctly, one does something like in libquadmath/quadmath_weak.h and then can use them then in the following way if (__weak_reference_name) res = __weak_reference_name () else res = some_other_function (Cf. also http://stackoverflow.com/questions/274753/)