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
4762f561
Commit
4762f561
authored
Oct 02, 2011
by
Jan Hubicka
Committed by
Jan Hubicka
Oct 02, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cgraphunit.c (verify_edge_count_and_frequency): Bounds check.
From-SVN: r179430
parent
467a8db0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+2
-0
gcc/cgraphunit.c
+3
-1
No files found.
gcc/ChangeLog
View file @
4762f561
2011-10-02 Jan Hubicka <jh@suse.cz>
2011-10-02 Jan Hubicka <jh@suse.cz>
* cgraphunit.c (verify_edge_count_and_frequency): Bounds check.
* cgraphunit.c (ipa_passes): Remove unrechable nodes.
* cgraphunit.c (ipa_passes): Remove unrechable nodes.
* lto-streamer-out.c (produce_symtab): Skip unused extern declarations.
* lto-streamer-out.c (produce_symtab): Skip unused extern declarations.
* ipa.c (cgraph_remove_unreachable_nodes): Do not assume that external
* ipa.c (cgraph_remove_unreachable_nodes): Do not assume that external
gcc/cgraphunit.c
View file @
4762f561
...
@@ -426,7 +426,9 @@ verify_edge_count_and_frequency (struct cgraph_edge *e)
...
@@ -426,7 +426,9 @@ verify_edge_count_and_frequency (struct cgraph_edge *e)
Remove this once edges are actualy removed from the function at that time. */
Remove this once edges are actualy removed from the function at that time. */
&&
(
e
->
frequency
&&
(
e
->
frequency
||
(
inline_edge_summary_vec
||
(
inline_edge_summary_vec
&&
!
inline_edge_summary
(
e
)
->
predicate
))
&&
((
VEC_length
(
inline_edge_summary_t
,
inline_edge_summary_vec
)
<=
(
unsigned
)
e
->
uid
)
||
!
inline_edge_summary
(
e
)
->
predicate
)))
&&
(
e
->
frequency
&&
(
e
->
frequency
!=
compute_call_stmt_bb_frequency
(
e
->
caller
->
decl
,
!=
compute_call_stmt_bb_frequency
(
e
->
caller
->
decl
,
gimple_bb
(
e
->
call_stmt
))))
gimple_bb
(
e
->
call_stmt
))))
...
...
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