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
4577cea1
Commit
4577cea1
authored
Mar 27, 2009
by
Xinliang David Li
Committed by
Xinliang David Li
Mar 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for PR39548
From-SVN: r145118
parent
0f7464f4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletions
+13
-1
gcc/ChangeLog
+6
-0
gcc/testsuite/ChangeLog
+5
-0
gcc/testsuite/g++.dg/tree-ssa/copyprop.C
+0
-0
gcc/tree-ssa-copy.c
+2
-1
No files found.
gcc/ChangeLog
View file @
4577cea1
2009-03-27 Xinliang David Li <davidxl@google.com>
PR tree-optimization/39548
* tree-ssa-copy.c (copy_prop_visit_phi_node): Add copy
candidate check.
2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
* c-common.c (pointer_int_sum): Use %wd on return from
...
...
gcc/testsuite/ChangeLog
View file @
4577cea1
2009-03-27 Xinliang David Li <davidxl@google.com>
PR tree-optimization/39548
* g++.dg/tree-ssa/copyprop.C: New test.
2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR c++/38638
...
...
gcc/testsuite/g++.dg/tree-ssa/copyprop.C
0 → 100644
View file @
4577cea1
This diff is collapsed.
Click to expand it.
gcc/tree-ssa-copy.c
View file @
4577cea1
...
...
@@ -908,7 +908,8 @@ copy_prop_visit_phi_node (gimple phi)
}
}
if
(
phi_val
.
value
&&
set_copy_of_val
(
lhs
,
phi_val
.
value
))
if
(
phi_val
.
value
&&
may_propagate_copy
(
lhs
,
phi_val
.
value
)
&&
set_copy_of_val
(
lhs
,
phi_val
.
value
))
retval
=
(
phi_val
.
value
!=
lhs
)
?
SSA_PROP_INTERESTING
:
SSA_PROP_VARYING
;
else
retval
=
SSA_PROP_NOT_INTERESTING
;
...
...
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