[fortran,patch] Fix Cray pointers in modules

FX fxcoudert@gmail.com
Sun Jun 8 16:41:00 GMT 2014


The attached one-line patch fixes PR45187 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45187), where we would sometimes try to create the backend_decl of Cray-pointees twice. We should simply bail out early of the procedure, following what is done in the similar situation in gfc_finish_var_decl().

Bootstrapped and regtested on x86_64-apple-darwin13, includes a testcase.
OK to commit?

FX

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cray.diff
Type: application/octet-stream
Size: 1190 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140608/947e8957/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cray.ChangeLog
Type: application/octet-stream
Size: 296 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140608/947e8957/attachment-0001.obj>


More information about the Fortran mailing list