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
2b599527
Commit
2b599527
authored
Mar 22, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(incomplete_decl_finalize_hook): New variable.
(compile_file): Call incomplete_decl_finalize_hook. From-SVN: r3824
parent
b4892310
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
gcc/toplev.c
+8
-0
No files found.
gcc/toplev.c
View file @
2b599527
...
...
@@ -218,6 +218,11 @@ char *(*decl_printable_name) ();
struct
rtx_def
*
(
*
lang_expand_expr
)
();
/* Pointer to function to finish handling an incomplete decl at the
end of compilation. */
void
(
*
incomplete_decl_finalize_hook
)
()
=
0
;
/* Nonzero if generating code to do profiling. */
int
profile_flag
=
0
;
...
...
@@ -1838,6 +1843,9 @@ compile_file (name)
for
(
i
=
0
;
i
<
len
;
i
++
)
{
decl
=
vec
[
i
];
if
(
DECL_SIZE
(
decl
)
==
0
)
(
*
incomplete_decl_finalize_hook
)
(
decl
);
if
(
TREE_CODE
(
decl
)
==
VAR_DECL
&&
TREE_STATIC
(
decl
)
&&
!
TREE_ASM_WRITTEN
(
decl
))
{
...
...
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