http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49264
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-02 15:18:54 UTC --- Seems we have memcpy (&any, &D.2892, 1) and fold_stmt_1 it. Folding turns this into MEM_REF[&any] = MEM_REF[&D.2892], which gimplify_and_update_call_from_tree tries to regimplify, but as any seems to be an empty class, cp_gimplify_expr optimizes that away, so we end up with no statements at all, and fold_stmt_1 is kind of unprepared to see a statement folded into nothing.