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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Mar 20 21:07:13 2018
New Revision: 258692

URL: https://gcc.gnu.org/viewcvs?rev=258692&root=gcc&view=rev
Log:
        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:
    trunk/gcc/testsuite/gcc.dg/pr84875.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dce.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to