[PATCH, Fortran, pr70696, v2] [Coarray] ICE on EVENT POST of host-associated EVENT_TYPE coarray
Andre Vehreschild
vehre@gmx.de
Wed Jan 18 12:26:00 GMT 2017
Hi all,
the patch I proposed for this pr unfortunately did not catch all errors.
Dominique figured, that the original testcase was not resolved (thanks for
that).
This patch resolves the linker problem by putting the static token into the
parent function's decl list. Furthermore does the patch beautify the
retrieval of the symbol in gfc_get_tree_for_caf_expr () and remove the following
assert which is unnecessary then, because the symbol is either already present
or created. And gfc_get_symbol_decl () can not return NULL.
Bootstrapped and regtested ok on x86_64-linux/f25 and x86-linux/f25 for trunk.
Bootstrapped and regtested ok on x86_64-linux/f25 for gcc-6 (x86-linux has not
been tested, because the VM is not that fast).
Ok for trunk and gcc-6?
Regards,
Andre
--
Andre Vehreschild * Email: vehre ad gmx dot de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr70696_v2.patch
Type: text/x-patch
Size: 1844 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170118/a1aab32d/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr70696_v2.clog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170118/a1aab32d/attachment.ksh>
More information about the Fortran
mailing list