2018-04-04 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/85166
* runtime/minimal.c (stop_numeric): Add new function in order to
implement numeric stop on minimal targets.
From-SVN: r259072
+2018-04-04 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/85166
+ * runtime/minimal.c (stop_numeric): Add new function in order to
+ implement numeric stop on minimal targets.
+
2018-03-28 Jakub Jelinek <jakub@redhat.com>
* io/io.h (IOPARM_DT_DEFAULT_EXP): Rename to ...
abort();
}
+
+/* A numeric STOP statement. */
+
+extern _Noreturn void stop_numeric (int, bool);
+export_proto(stop_numeric);
+
+void
+stop_numeric (int code, bool quiet)
+{
+ if (!quiet)
+ printf ("STOP %d\n", code);
+
+ exit (code);
+}