[patch,libgfortran] Fix configure test for weakref support
FX
fxcoudert@gmail.com
Fri Aug 14 15:06:00 GMT 2015
This patch fixes PR 47571 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47571) by providing an adequate configure check (with AC_LINK_IFELSE) for weakref (which we use in intrinsics/system_clock.c).
Tested by building libgfortran on x86_64-pc-linux-gnu, where SUPPORTS_WEAKREF gets defined to 1 as it should, and x86_64-apple-darwin14, where SUPPORTS_WEAKREF gets defined to 0 as it should. Then regtested on both targets.
OK to commit to trunk?
FX
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: weakref.ChangeLog.txt
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150814/e9c42e3e/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: weakref.diff
Type: application/octet-stream
Size: 6798 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150814/e9c42e3e/attachment.obj>
More information about the Fortran
mailing list