https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69542
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Jan 28 21:08:23 2016 New Revision: 232949 URL: https://gcc.gnu.org/viewcvs?rev=232949&root=gcc&view=rev Log: PR middle-end/69542 * lra-remat.c (calculate_local_reg_remat_bb_data): Only consider non-debug insns. * gcc.dg/torture/pr69542.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr69542.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/lra-remat.c branches/gcc-5-branch/gcc/testsuite/ChangeLog