https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65836
--- Comment #4 from ktkachov at gcc dot gnu.org --- Bisection confirmed that it's r222173: Author: vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri Apr 17 09:26:59 2015 +0000 Postpone expanding va_arg until pass_stdarg 2015-04-17 Tom de Vries <t...@codesourcery.com> Michael Matz <m...@suse.de> I'll try updating my tree to r222318 Author: vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed Apr 22 09:03:01 2015 +0000 Fix va_arg ap_copy nop detection 2015-04-22 Tom de Vries <t...@codesourcery.com> PR tree-optimization/65823 * gimplify.c (gimplify_modify_expr): Use operand_equal_p to test for equality between ap_copy and ap. and see if that fixes it