[Bug debug/84875] [6/7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2348 on s390x

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 25 17:36:00 GMT 2018


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 17:36:14 2018
New Revision: 262081

URL: https://gcc.gnu.org/viewcvs?rev=262081&root=gcc&view=rev
Log:
        Backported from mainline
        2018-03-20  Jakub Jelinek  <jakub@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-6-branch/gcc/testsuite/gcc.dg/pr84875.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/dce.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list