summaryrefslogtreecommitdiff
path: root/gcc/gencodes.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/gencodes.c
parent30da3665d6f93871e0c6d362d2f6cd3246c79b0a (diff)
fix md
Diffstat (limited to 'gcc/gencodes.c')
-rwxr-xr-xgcc/gencodes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gencodes.c b/gcc/gencodes.c
index 8c043d2..4976e1a 100755
--- a/gcc/gencodes.c
+++ b/gcc/gencodes.c
@@ -100,7 +100,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.
@@ -130,7 +130,7 @@ main (argc, argv)
if (infile == 0)
{
perror (argv[1]);
- exit (FATAL_EXIT_CODE);
+ exit (EXIT_FAILURE);
}
init_rtl ();
@@ -172,7 +172,7 @@ from the machine description file `md'. */\n\n");
printf ("#endif /* MAX_INSN_CODE */\n");
fflush (stdout);
- exit (ferror (stdout) != 0 ? FATAL_EXIT_CODE : SUCCESS_EXIT_CODE);
+ exit (ferror (stdout) != 0 ? EXIT_FAILURE : EXIT_SUCCESS);
/* NOTREACHED */
return 0;
}