summaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-types.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/trans-types.cc')
-rw-r--r--gcc/fortran/trans-types.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/fortran/trans-types.cc b/gcc/fortran/trans-types.cc
index a56337b599a..3cdc529eb28 100644
--- a/gcc/fortran/trans-types.cc
+++ b/gcc/fortran/trans-types.cc
@@ -527,6 +527,9 @@ gfc_init_kinds (void)
}
}
}
+ else if ((flag_convert & (GFC_CONVERT_R16_IEEE | GFC_CONVERT_R16_IBM)) != 0)
+ gfc_fatal_error ("%<-fconvert=r16_ieee%> or %<-fconvert=r16_ibm%> not "
+ "supported on this architecture");
/* Choose the default integer kind. We choose 4 unless the user directs us
otherwise. Even if the user specified that the default integer kind is 8,