projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80d360f
)
Clone correct pass in class pass_thread_jumps_full.
author
Aldy Hernandez
<aldyh@redhat.com>
Mon, 18 Oct 2021 11:53:50 +0000
(13:53 +0200)
committer
Aldy Hernandez
<aldyh@redhat.com>
Mon, 18 Oct 2021 12:55:04 +0000
(14:55 +0200)
The pass_thread_jumps_full pass was cloning the wrong pass.
gcc/ChangeLog:
* tree-ssa-threadbackward.c (class pass_thread_jumps_full):
Clone corresponding pass.
gcc/tree-ssa-threadbackward.c
patch
|
blob
|
history
diff --git
a/gcc/tree-ssa-threadbackward.c
b/gcc/tree-ssa-threadbackward.c
index
62f936a
..
8770be8
100644
(file)
--- a/
gcc/tree-ssa-threadbackward.c
+++ b/
gcc/tree-ssa-threadbackward.c
@@
-1059,7
+1059,7
@@
public:
{}
opt_pass * clone (void) override
{
- return new pass_thread_jumps (m_ctxt);
+ return new pass_thread_jumps
_full
(m_ctxt);
}
bool gate (function *) override
{