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.
This commit is contained in:
Aldy Hernandez 2021-10-18 13:53:50 +02:00
parent 80d360fa72
commit dece6ae772

View File

@ -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
{