[Bug sanitizer/80536] [6/7/8 Regression] UBSAN: compile time segfault
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 10 12:29:00 GMT 2017
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?
More information about the Gcc-bugs
mailing list