IPA-CP: Remove bogus static keyword (PR 92971)
authorMartin Jambor <mjambor@suse.cz>
Wed, 18 Dec 2019 16:08:09 +0000 (17:08 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Wed, 18 Dec 2019 16:08:09 +0000 (17:08 +0100)
commit8bda7ce8ec8b5c61b03082d76b5ce33b14a7288a
tree691975280b6886f40f90681dec07252e61b34eea
parent15ef05444f18a9a690e4484f24a523c6aed59896
IPA-CP: Remove bogus static keyword (PR 92971)

2019-12-18  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.

From-SVN: r279525
gcc/ChangeLog
gcc/ipa-cp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/ipcp-agg-12.c [new file with mode: 0644]