https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84875

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 22 20:53:41 2018
New Revision: 261932

URL: https://gcc.gnu.org/viewcvs?rev=261932&root=gcc&view=rev
Log:
        Backported from mainline
        2018-03-20  Jakub Jelinek  <ja...@redhat.com>

        PR debug/84875
        * dce.c (delete_unmarked_insns): Don't remove frame related noop moves
        holding REG_CFA_RESTORE notes, instead turn them into a USE.

        * gcc.dg/pr84875.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr84875.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/dce.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to