https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80536

--- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #5)
> To expand on that, I think we want to drop that call from there and instead
> be able to simplify somehow a SAVE_EXPR if after c_fully_fold or cp_fold it
> becomes simple enough not to require any saving.

Hmm, I'm not sure what you mean.  save_expr has

3351   if (tree_invariant_p_1 (inner))
3352     return expr;

so we shouldn't create unnecessary SAVE_EXPRs.  Or do you mean something else?

Reply via email to