[PATCH] PR fortran/71706 - [8/9/10/11 Regression] [Coarray] ICE on using sync images with integer(kind<>4), with -fcoarray=lib -fcheck=bounds
Harald Anlauf
anlauf@gmx.de
Sun Jun 28 20:20:09 GMT 2020
Here's a fix to bounds-checking code that manifests itself essentially
with checking enabled. Once found and understood, the fix is trivial:
just properly convert the argument kind of SYNC IMAGES for checking.
Regtested on x86_64-pc-linux-gnu.
OK for master / backports where appropriate?
Thanks,
Harald
PR fortran/71706 - ICE on using sync images with -fcheck=bounds
The run-time checking code did not properly convert the kind of the
argument to SYNC IMAGES, leading to an error in verify_gimple. Fix that.
gcc/fortran/
PR fortran/71706
* trans-stmt.c (gfc_trans_sync): Do proper kind conversion in
bounds-checking code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr71706.patch
Type: text/x-patch
Size: 1836 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20200628/86810136/attachment.bin>
More information about the Fortran
mailing list