https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96319
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Mark Eggleston <markeggles...@gcc.gnu.org>: https://gcc.gnu.org/g:3c4d2b867666464fad2dc5732940beaae48d8628 commit r10-8549-g3c4d2b867666464fad2dc5732940beaae48d8628 Author: Mark Eggleston <markeggles...@gcc.gnu.org> Date: Mon Jul 27 15:28:50 2020 +0100 Fortran : Don't warn for LOGICAL kind conversion PR96319 LOGICAL values will always fit regardless of kind so there is no need for warnings. 2020-07-29 Mark Eggleston <markeggles...@gcc.gnu.org> gcc/fortran/ PR fortran/96319 * intrinsic.c (gfc_convert_type_warn): Add check for LOGICAL type so that warnings are not output. 2020-07-29 Mark Eggleston <markeggles...@gcc.gnu.org> gcc/testsuite/ PR fortran/96319 * gfortran.dg/pr96319.f90: New test. (cherry picked from commit 6af8284719d151087a1c1e4da210cc5a9fa4a478)