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
4dc1d68c
Commit
4dc1d68c
authored
Mar 02, 2013
by
Xinliang David Li
Committed by
Xinliang David Li
Mar 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PR/56490
From-SVN: r196406
parent
2609a398
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
gcc/ChangeLog
+5
-0
gcc/tree-ssa-uninit.c
+4
-1
No files found.
gcc/ChangeLog
View file @
4dc1d68c
2013-03-01 Xinliang David Li <davidxl@google.com>
* tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom
walk length.
2013-03-01 Jakub Jelinek <jakub@redhat.com>
PR middle-end/56461
...
...
gcc/tree-ssa-uninit.c
View file @
4dc1d68c
...
...
@@ -229,6 +229,7 @@ find_control_equiv_block (basic_block bb)
#define MAX_NUM_CHAINS 8
#define MAX_CHAIN_LEN 5
#define MAX_POSTDOM_CHECK 8
/* Computes the control dependence chains (paths of edges)
for DEP_BB up to the dominating basic block BB (the head node of a
...
...
@@ -269,6 +270,7 @@ compute_control_dep_chain (basic_block bb, basic_block dep_bb,
FOR_EACH_EDGE
(
e
,
ei
,
bb
->
succs
)
{
basic_block
cd_bb
;
int
post_dom_check
=
0
;
if
(
e
->
flags
&
(
EDGE_FAKE
|
EDGE_ABNORMAL
))
continue
;
...
...
@@ -298,7 +300,8 @@ compute_control_dep_chain (basic_block bb, basic_block dep_bb,
}
cd_bb
=
find_pdom
(
cd_bb
);
if
(
cd_bb
==
EXIT_BLOCK_PTR
)
post_dom_check
++
;
if
(
cd_bb
==
EXIT_BLOCK_PTR
||
post_dom_check
>
MAX_POSTDOM_CHECK
)
break
;
}
cur_cd_chain
->
pop
();
...
...
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