http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48785
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org, | |jvdelisle at gcc dot | |gnu.org --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-04-27 06:55:48 UTC --- In libgfortran/io/transfer.c's one currently has in formatted_transfer_scalar_read and formatted_transfer_scalar_write code such as case FMT_B: if (n == 0) goto need_data; if (!(compile_options.allow_std & GFC_STD_GNU) && require_type (dtp, BT_INTEGER, type, f)) return; write_b (dtp, f, p, kind); break; s/GFC_STD_GNU/GFC_STD_F2008/ should take care of that. However, that might accept too much, namely CHARACTER and LOGICAL, which are excluded at: "The corresponding input/output list item shall be of type integer, real, or complex." I don't know whether we should care - I tend to be more liberal for run-time diagnostic than for compile-time diagnostic ...