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
9148ab01
Commit
9148ab01
authored
Mar 08, 2005
by
Julian Brown
Committed by
Julian Brown
Mar 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl.c (finish_method): Give methods once-only linkage.
From-SVN: r96106
parent
77fb4cc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
gcc/java/ChangeLog
+4
-0
gcc/java/decl.c
+7
-0
No files found.
gcc/java/ChangeLog
View file @
9148ab01
2005
-
03
-
08
Julian
Brown
<
julian
@
codesourcery
.
com
>
*
decl
.
c
(
finish_method
):
Give
methods
once
-
only
linkage
.
2005
-
03
-
07
Bryce
McKinlay
<
mckinlay
@
redhat
.
com
>
2005
-
03
-
07
Bryce
McKinlay
<
mckinlay
@
redhat
.
com
>
*
verify
-
glue
.
c
(
vfy_is_assignable_from
):
Perform
static
check
using
*
verify
-
glue
.
c
(
vfy_is_assignable_from
):
Perform
static
check
using
...
...
gcc/java/decl.c
View file @
9148ab01
...
@@ -2036,6 +2036,13 @@ finish_method (tree fndecl)
...
@@ -2036,6 +2036,13 @@ finish_method (tree fndecl)
build2
(
TRY_FINALLY_EXPR
,
void_type_node
,
*
tp
,
exit
));
build2
(
TRY_FINALLY_EXPR
,
void_type_node
,
*
tp
,
exit
));
}
}
/* Ensure non-abstract non-static non-private members are defined only once
when linking. This is an issue when using CNI to interface with C++ object
files. */
if
(
!
METHOD_STATIC
(
fndecl
)
&&
!
METHOD_PRIVATE
(
fndecl
)
&&
!
METHOD_ABSTRACT
(
fndecl
))
make_decl_one_only
(
fndecl
);
/* Prepend class initialization for static methods reachable from
/* Prepend class initialization for static methods reachable from
other classes. */
other classes. */
if
(
METHOD_STATIC
(
fndecl
)
&&
!
METHOD_PRIVATE
(
fndecl
)
if
(
METHOD_STATIC
(
fndecl
)
&&
!
METHOD_PRIVATE
(
fndecl
)
...
...
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