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
d2640c43
Commit
d2640c43
authored
Jun 14, 2011
by
Jan Hubicka
Committed by
Jan Hubicka
Jun 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ipa.c (cgraph_address_taken_from_non_vtable_p): Check the ref type.
From-SVN: r175021
parent
de38eefa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
gcc/ChangeLog
+4
-0
gcc/ipa.c
+9
-8
No files found.
gcc/ChangeLog
View file @
d2640c43
2011-06-13 Jan Hubicka <jh@suse.cz>
* ipa.c (cgraph_address_taken_from_non_vtable_p): Check the ref type.
2011-06-14 Richard Henderson <rth@redhat.com>
2011-06-14 Richard Henderson <rth@redhat.com>
PR debug/48459
PR debug/48459
...
...
gcc/ipa.c
View file @
d2640c43
...
@@ -543,14 +543,15 @@ cgraph_address_taken_from_non_vtable_p (struct cgraph_node *node)
...
@@ -543,14 +543,15 @@ cgraph_address_taken_from_non_vtable_p (struct cgraph_node *node)
int
i
;
int
i
;
struct
ipa_ref
*
ref
;
struct
ipa_ref
*
ref
;
for
(
i
=
0
;
ipa_ref_list_reference_iterate
(
&
node
->
ref_list
,
i
,
ref
);
i
++
)
for
(
i
=
0
;
ipa_ref_list_reference_iterate
(
&
node
->
ref_list
,
i
,
ref
);
i
++
)
{
if
(
ref
->
use
==
IPA_REF_ADDR
)
struct
varpool_node
*
node
;
{
if
(
ref
->
refered_type
==
IPA_REF_CGRAPH
)
struct
varpool_node
*
node
;
return
true
;
if
(
ref
->
refered_type
==
IPA_REF_CGRAPH
)
node
=
ipa_ref_varpool_node
(
ref
);
return
true
;
if
(
!
DECL_VIRTUAL_P
(
node
->
decl
))
node
=
ipa_ref_varpool_node
(
ref
);
return
true
;
if
(
!
DECL_VIRTUAL_P
(
node
->
decl
))
}
return
true
;
}
return
false
;
return
false
;
}
}
...
...
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