This was on a past exam paper, and it was asking if $f$ is bounded and if $f^2$ is Riemann integrable, then is f Riemann integrable?
If I had to guess, I'd say no. I tried creating an $\epsilon$ argument, but I feel like I'm grasping at straws, so I'd appreciate a hint towards a slightly more concrete proof.
Hint: Consider $f \colon [0,1] \rightarrow \mathbb{R}$ given by
$$ f(x) = \begin{cases} 1 & x \in \mathbb{Q} \cap [0,1] \\ -1 & x \in [0,1] \setminus (\mathbb{Q} \cap [0,1]). \end{cases}. $$