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
5c2e00ee
Commit
5c2e00ee
authored
Mar 06, 2003
by
Jan Hubicka
Committed by
Jan Hubicka
Mar 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cgraph.c (cgraph_node): Do not confuse nested functions and methods.
From-SVN: r63889
parent
323658ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/cgraph.c
+1
-1
No files found.
gcc/ChangeLog
View file @
5c2e00ee
Thu
Mar
6
14
:
20
:
15
CET
2003
Jan
Hubicka
<
jh
@suse
.
cz
>
*
cgraph
.
c
(
cgraph_node
)
:
Do
not
confuse
nested
functions
and
methods
.
2003
-
03
-
06
Zdenek
Dvorak
<
rakdver
@atrey
.
karlin
.
mff
.
cuni
.
cz
>
*
dwarf2out
.
c
(
size_of_die
)
:
Compute
size
of
external
reference
to
...
...
gcc/cgraph.c
View file @
5c2e00ee
...
...
@@ -98,7 +98,7 @@ cgraph_node (decl)
cgraph_nodes
=
node
;
cgraph_n_nodes
++
;
*
slot
=
node
;
if
(
DECL_CONTEXT
(
decl
))
if
(
DECL_CONTEXT
(
decl
)
&&
TREE_CODE
(
DECL_CONTEXT
(
decl
))
==
FUNCTION_DECL
)
{
node
->
origin
=
cgraph_node
(
DECL_CONTEXT
(
decl
));
node
->
next_nested
=
node
->
origin
->
nested
;
...
...
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