https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71706
--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:e6cc67f6616c96f3e18a434e0c74ba2f3818cb6d commit r11-1712-ge6cc67f6616c96f3e18a434e0c74ba2f3818cb6d Author: Harald Anlauf <anl...@gmx.de> Date: Mon Jun 29 15:15:49 2020 +0200 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.