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

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Hans-Peter Nilsson <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:851e188c2abf935bb43a7e7ce2ac2e02c6a78ba8

commit r15-6827-g851e188c2abf935bb43a7e7ce2ac2e02c6a78ba8
Author: Hans-Peter Nilsson <h...@bitrange.com>
Date:   Mon Jan 6 08:44:04 2025 +0100

    c-pretty-print.cc (pp_c_tree_decl_identifier): Strip private name encoding,
PR118303

    This is a part of PR118303.  It fixes
    FAIL: gcc.dg/analyzer/CVE-2005-1689-minimal.c (test for excess errors)
    FAIL: gcc.dg/analyzer/CVE-2005-1689-minimal.c inbuf.data (test for
warnings, line 62)
    for targets where the parameter on that line is subject to
    TARGET_CALLEE_COPIES being true.

    c-family:
            PR middle-end/118303
            * c-pretty-print.cc (c_pretty_printer::primary_expression)
<SSA_NAME>:
            Call primary_expression for all SSA_NAME_VAR nodes and instead move
the
            DECL_ARTIFICIAL private name stripping to...
            (pp_c_tree_decl_identifier): ...here.

Reply via email to