http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58950
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org --- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > For __builtin_shuffle, the issue is that we now call save_expr, which always > sets TREE_SIDE_EFFECTS to 1. I don't know if it would make sense to > introduce a maybe_save_expr that is equivalent to save_expr but does not set > TREE_SIDE_EFFECTS if its argument doesn't have it. No, this would defeat the purpose of the SAVE_EXPR, since you could duplicate the expression or move it at will, leading to nasty order of evaluation issues.