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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 12:20:12 2019
New Revision: 275133

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

        PR debug/89704
        * dwarf2out.c (add_const_value_attribute): Return false for MINUS,
        SIGN_EXTEND and ZERO_EXTEND.

        * gcc.dg/debug/pr89704.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/debug/pr89704.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/dwarf2out.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to