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
629b20e2
Commit
629b20e2
authored
Nov 11, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fancy_abort): New function.
From-SVN: r6072
parent
10b8b0ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
gcc/gen-protos.c
+12
-2
No files found.
gcc/gen-protos.c
View file @
629b20e2
...
@@ -27,6 +27,16 @@ int verbose = 0;
...
@@ -27,6 +27,16 @@ int verbose = 0;
sstring
linebuf
;
sstring
linebuf
;
/* Avoid error if config defines abort as fancy_abort.
It's not worth "really" implementing this because ordinary
compiler users never run fix-header. */
void
fancy_abort
()
{
abort
();
}
int
int
main
(
argc
,
argv
)
main
(
argc
,
argv
)
int
argc
;
int
argc
;
...
@@ -109,7 +119,7 @@ main (argc, argv)
...
@@ -109,7 +119,7 @@ main (argc, argv)
/* NOTE: If you edit this,
/* NOTE: If you edit this,
also edit lookup_std_proto in fix-header.c !! */
also edit lookup_std_proto in fix-header.c !! */
i
=
hash
(
name_start
)
%
HASH_SIZE
;
i
=
hash
(
name_start
)
%
HASH_SIZE
;
i0
=
i
;
i0
=
i
;
if
(
hash_tab
[
i
]
!=
0
)
if
(
hash_tab
[
i
]
!=
0
)
{
{
...
@@ -117,7 +127,7 @@ main (argc, argv)
...
@@ -117,7 +127,7 @@ main (argc, argv)
{
{
i
=
(
i
+
1
)
%
HASH_SIZE
;
i
=
(
i
+
1
)
%
HASH_SIZE
;
if
(
i
==
i0
)
if
(
i
==
i0
)
abort
();
abort
();
if
(
hash_tab
[
i
]
==
0
)
if
(
hash_tab
[
i
]
==
0
)
break
;
break
;
}
}
...
...
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