aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/error.c')
-rw-r--r--gcc/fortran/error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fortran/error.c b/gcc/fortran/error.c
index 3092828..bedb629 100644
--- a/gcc/fortran/error.c
+++ b/gcc/fortran/error.c
@@ -939,7 +939,7 @@ gfc_error_now (const char *gmsgid, ...)
buffer_flag = i;
if (flag_fatal_errors)
- exit (1);
+ exit (FATAL_EXIT_CODE);
}
@@ -956,7 +956,7 @@ gfc_fatal_error (const char *gmsgid, ...)
error_print (_("Fatal Error:"), _(gmsgid), argp);
va_end (argp);
- exit (3);
+ exit (FATAL_EXIT_CODE);
}
@@ -1019,7 +1019,7 @@ gfc_error_check (void)
gfc_increment_error_count();
if (flag_fatal_errors)
- exit (1);
+ exit (FATAL_EXIT_CODE);
}
return rc;