[patch,libgfortran] Fix configure test for weakref support

FX fxcoudert@gmail.com
Fri Aug 28 08:07:00 GMT 2015


ping**2

Given that it’s a configury-patch, I think what it needs is real exposure on unusual targets more than formal review, so I intend to commit it in 48 hours unless someone objects in the meantime. Then I’ll be around to fix things if some fall apart…

FX




> Le 14 août 2015 à 17:06, FX <fxcoudert@gmail.com> a écrit :
> 
> 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/20150828/04d2ad80/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/20150828/04d2ad80/attachment.obj>


More information about the Fortran mailing list