From dece6ae77223f37494b9ccab45f4bc4154c9fd0b Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Mon, 18 Oct 2021 13:53:50 +0200 Subject: [PATCH] Clone correct pass in class pass_thread_jumps_full. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/tree-ssa-threadbackward.c b/gcc/tree-ssa-threadbackward.c index 62f936a9651c..8770be88706a 100644 --- 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 { -- 2.47.2