[Bug ipa/92971] Suspicious code in cgraph_edge_brings_all_agg_vals_for_node(), ipa-cp.c

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 10 22:47:00 GMT 2020


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

--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Fri Jan 10 22:46:46 2020
New Revision: 280151

URL: https://gcc.gnu.org/viewcvs?rev=280151&root=gcc&view=rev
Log:
IPA-CP: Remove bogus static keyword (PR 92971)

2020-01-10  Martin Jambor  <mjambor@suse.cz>

        Backport from mainline
        2019-12-17  Martin Jambor  <mjambor@suse.cz>

        PR ipa/92971
        * ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Fix
          definition of values, release memory on exit.

        testsuite/
        * gcc.dg/ipa/ipcp-agg-12.c: New test.


Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/ipa/ipcp-agg-12.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/ipa-cp.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list