summaryrefslogtreecommitdiff
path: root/libgfortran/io/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/io/read.c')
-rw-r--r--libgfortran/io/read.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgfortran/io/read.c b/libgfortran/io/read.c
index a5cb97a00e5..03046b943b9 100644
--- a/libgfortran/io/read.c
+++ b/libgfortran/io/read.c
@@ -45,6 +45,8 @@ set_integer (void *dest, GFC_INTEGER_LARGEST value, int length)
switch (length)
{
#ifdef HAVE_GFC_INTEGER_16
+/* length=10 comes about for kind=10 real/complex BOZ, cf. PR41711. */
+ case 10:
case 16:
{
GFC_INTEGER_16 tmp = value;