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
7303f45c
Commit
7303f45c
authored
Apr 26, 1996
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes
From-SVN: r11897
parent
637166fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
gcc/cp/decl2.c
+5
-8
No files found.
gcc/cp/decl2.c
View file @
7303f45c
...
@@ -2979,7 +2979,7 @@ finish_file ()
...
@@ -2979,7 +2979,7 @@ finish_file ()
{
{
temp
=
build_cleanup
(
decl
);
temp
=
build_cleanup
(
decl
);
if
(
DECL_COMMON
(
decl
))
if
(
DECL_COMMON
(
decl
)
&&
TREE_PUBLIC
(
decl
)
)
{
{
tree
sentry
=
get_sentry
(
DECL_ASSEMBLER_NAME
(
decl
));
tree
sentry
=
get_sentry
(
DECL_ASSEMBLER_NAME
(
decl
));
sentry
=
build_unary_op
(
PREDECREMENT_EXPR
,
sentry
,
0
);
sentry
=
build_unary_op
(
PREDECREMENT_EXPR
,
sentry
,
0
);
...
@@ -2989,7 +2989,7 @@ finish_file ()
...
@@ -2989,7 +2989,7 @@ finish_file ()
expand_expr_stmt
(
temp
);
expand_expr_stmt
(
temp
);
if
(
DECL_COMMON
(
decl
))
if
(
DECL_COMMON
(
decl
)
&&
TREE_PUBLIC
(
decl
)
)
expand_end_cond
();
expand_end_cond
();
}
}
}
}
...
@@ -3048,10 +3048,7 @@ finish_file ()
...
@@ -3048,10 +3048,7 @@ finish_file ()
||
DECL_EXTERNAL
(
decl
)
||
DECL_EXTERNAL
(
decl
)
||
(
init
&&
TREE_CODE
(
init
)
==
TREE_LIST
||
(
init
&&
TREE_CODE
(
init
)
==
TREE_LIST
&&
value_member
(
error_mark_node
,
init
)))
&&
value_member
(
error_mark_node
,
init
)))
{
goto
next_mess
;
vars
=
TREE_CHAIN
(
vars
);
goto
next_mess
;
}
if
(
TREE_CODE
(
decl
)
==
VAR_DECL
)
if
(
TREE_CODE
(
decl
)
==
VAR_DECL
)
{
{
...
@@ -3066,7 +3063,7 @@ finish_file ()
...
@@ -3066,7 +3063,7 @@ finish_file ()
DECL_CLASS_CONTEXT
(
current_function_decl
)
=
DECL_CONTEXT
(
decl
);
DECL_CLASS_CONTEXT
(
current_function_decl
)
=
DECL_CONTEXT
(
decl
);
DECL_STATIC_FUNCTION_P
(
current_function_decl
)
=
1
;
DECL_STATIC_FUNCTION_P
(
current_function_decl
)
=
1
;
if
(
DECL_COMMON
(
decl
))
if
(
DECL_COMMON
(
decl
)
&&
TREE_PUBLIC
(
decl
)
)
{
{
tree
sentry
=
get_sentry
(
DECL_ASSEMBLER_NAME
(
decl
));
tree
sentry
=
get_sentry
(
DECL_ASSEMBLER_NAME
(
decl
));
sentry
=
build_unary_op
(
PREINCREMENT_EXPR
,
sentry
,
0
);
sentry
=
build_unary_op
(
PREINCREMENT_EXPR
,
sentry
,
0
);
...
@@ -3088,7 +3085,7 @@ finish_file ()
...
@@ -3088,7 +3085,7 @@ finish_file ()
else
else
expand_assignment
(
decl
,
init
,
0
,
0
);
expand_assignment
(
decl
,
init
,
0
,
0
);
if
(
DECL_COMMON
(
decl
))
if
(
DECL_COMMON
(
decl
)
&&
TREE_PUBLIC
(
decl
)
)
expand_end_cond
();
expand_end_cond
();
DECL_CLASS_CONTEXT
(
current_function_decl
)
=
NULL_TREE
;
DECL_CLASS_CONTEXT
(
current_function_decl
)
=
NULL_TREE
;
...
...
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