A top tech analyst thinks that if Yahoo gets a bid, it should sell itself.
BGC Partners senior technology analyst Colin Gillis, who has a $39 price target on the stock, told CNBC's "Squawk Alley" that the tech company should settle its affairs out of the limelight.
"Yahoo is a turnaround play that has shown very little turnaround ... the reality is this is a company that's best served being sold and turned around privately," said Gillis.
In January, activist hedge fund Starboard Value sent a letter to the company's board saying that management had failed to turn around Yahoo and that the fund had lost all confidence. Starboard Value's CEO, Jeffrey Smith, also told CNBC that the fund had been contacted by potential buyers of Yahoo's core business.