Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
299846f2
Commit
299846f2
authored
May 16, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(pfatal_with_name, fatal_io_error, vfatal): Use FATAL_EXIT_CODE
instead of magic number. From-SVN: r9723
parent
bbcffef3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/toplev.c
+4
-4
No files found.
gcc/toplev.c
View file @
299846f2
...
@@ -873,7 +873,7 @@ pfatal_with_name (name)
...
@@ -873,7 +873,7 @@ pfatal_with_name (name)
{
{
fprintf
(
stderr
,
"%s: "
,
progname
);
fprintf
(
stderr
,
"%s: "
,
progname
);
perror
(
name
);
perror
(
name
);
exit
(
35
);
exit
(
FATAL_EXIT_CODE
);
}
}
void
void
...
@@ -881,7 +881,7 @@ fatal_io_error (name)
...
@@ -881,7 +881,7 @@ fatal_io_error (name)
char
*
name
;
char
*
name
;
{
{
fprintf
(
stderr
,
"%s: %s: I/O error
\n
"
,
progname
,
name
);
fprintf
(
stderr
,
"%s: %s: I/O error
\n
"
,
progname
,
name
);
exit
(
35
);
exit
(
FATAL_EXIT_CODE
);
}
}
/* Called to give a better error message for a bad insn rather than
/* Called to give a better error message for a bad insn rather than
...
@@ -1348,7 +1348,7 @@ vfatal (s, ap)
...
@@ -1348,7 +1348,7 @@ vfatal (s, ap)
va_list
ap
;
va_list
ap
;
{
{
verror
(
s
,
ap
);
verror
(
s
,
ap
);
exit
(
34
);
exit
(
FATAL_EXIT_CODE
);
}
}
void
void
...
@@ -3939,7 +3939,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
...
@@ -3939,7 +3939,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
if
(
sorrycount
)
if
(
sorrycount
)
exit
(
FATAL_EXIT_CODE
);
exit
(
FATAL_EXIT_CODE
);
exit
(
SUCCESS_EXIT_CODE
);
exit
(
SUCCESS_EXIT_CODE
);
return
34
;
return
0
;
}
}
/* Decode -m switches. */
/* Decode -m switches. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment