https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70152
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Mar 30 12:39:58 2016 New Revision: 234561 URL: https://gcc.gnu.org/viewcvs?rev=234561&root=gcc&view=rev Log: Backported from mainline 2016-03-09 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/70152 * tree-sra.c (replace_removed_params_ssa_names): Copy over SSA_NAME_OCCURS_IN_ABNORMAL_PHI from old_name to new_name. * gcc.dg/pr70152.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr70152.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/tree-sra.c