Re: [PATCH] Fortran : Don't warn for LOGICAL kind conversion PR96319

2020-07-28 Thread Thomas Koenig via Gcc-patches
Hi Mark, LOGICAL values fit regardless of kind so warnings are unnecessary. The PR referred to the warning produced for -Wconversion.  This patch also suppresses the warning for -Wconversion-extra. -Wconversion produces "Possible change of value in conversion from LOGICAL(4) to LOGICAL(1) ..

[PATCH] Fortran : Don't warn for LOGICAL kind conversion PR96319

2020-07-28 Thread Mark Eggleston
, 27 Jul 2020 15:28:50 +0100 Subject: [PATCH] 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-28 Mark Eggleston gcc/fortran/ PR fortran/96319 * intrinsic.c (gfc_convert_type_warn): Ad