From 1f07dea91c37d45874cd91c2333696e784ae2d44 Mon Sep 17 00:00:00 2001 From: Thomas Koenig Date: Fri, 18 Oct 2024 17:58:56 +0200 Subject: Handle GFC_STD_UNSIGNED like a standard in error messages. gcc/fortran/ChangeLog: * error.cc (notify_std_msg): Handle GFC_STD_UNSIGNED. gcc/testsuite/ChangeLog: * gfortran.dg/unsigned_37.f90: New test. --- gcc/fortran/error.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/fortran') diff --git a/gcc/fortran/error.cc b/gcc/fortran/error.cc index d184ffd..afe2e49 100644 --- a/gcc/fortran/error.cc +++ b/gcc/fortran/error.cc @@ -362,6 +362,8 @@ notify_std_msg(int std) return _("Obsolescent feature:"); else if (std & GFC_STD_F95_DEL) return _("Deleted feature:"); + else if (std & GFC_STD_UNSIGNED) + return _("Unsigned:"); else gcc_unreachable (); } -- cgit v1.1