summaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-14 16:49:50 -0800
committerYamaArashi <shadow962@live.com>2016-02-14 16:49:50 -0800
commitee6378488b6ef2654dcbffaaf1319c415c552f27 (patch)
tree41b529246b852d42c7f4ba57670525f0680a670f /gcc/genemit.c
parent30da3665d6f93871e0c6d362d2f6cd3246c79b0a (diff)
fix md
Diffstat (limited to 'gcc/genemit.c')
-rwxr-xr-xgcc/genemit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c
index 5c4cf1e..a07e607 100755
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -723,7 +723,7 @@ fatal VPROTO ((const char *format, ...))
vfprintf (stderr, format, ap);
va_end (ap);
fprintf (stderr, "\n");
- exit (FATAL_EXIT_CODE);
+ exit (EXIT_FAILURE);
}
/* More 'friendly' abort that prints the line and file.
@@ -753,7 +753,7 @@ main (argc, argv)
if (infile == 0)
{
perror (argv[1]);
- exit (FATAL_EXIT_CODE);
+ exit (EXIT_FAILURE);
}
init_rtl ();
@@ -823,7 +823,7 @@ from the machine description file `md'. */\n\n");
output_init_mov_optab ();
fflush (stdout);
- exit (ferror (stdout) != 0 ? FATAL_EXIT_CODE : SUCCESS_EXIT_CODE);
+ exit (ferror (stdout) != 0 ? EXIT_FAILURE : EXIT_SUCCESS);
/* NOTREACHED */
return 0;
}