aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2023-10-30 18:34:59 +0100
committerMartin Jambor <mjambor@suse.cz>2023-10-30 18:36:40 +0100
commit1437df40f12ade35fd1f1a3e4cbba4b4656cab0b (patch)
tree2c60a58e1b4ed95b4e8fcda3583c82dfde6cd7b0 /libstdc++-v3/src
parent68880e40533c41c89eb72247c3080703ad09270c (diff)
downloadgcc-1437df40f12ade35fd1f1a3e4cbba4b4656cab0b.zip
gcc-1437df40f12ade35fd1f1a3e4cbba4b4656cab0b.tar.gz
gcc-1437df40f12ade35fd1f1a3e4cbba4b4656cab0b.tar.bz2
ipa-cp: Templatize filtering of m_agg_values
PR 111157 points to another place where IPA-CP collected aggregate compile-time constants need to be filtered, in addition to the one place that already does this in ipa-sra. In order to re-use code, this patch turns the common bit into a template. The functionality is still covered by testcase gcc.dg/ipa/pr108959.c. gcc/ChangeLog: 2023-09-13 Martin Jambor <mjambor@suse.cz> PR ipa/111157 * ipa-prop.h (ipcp_transformation): New member function template remove_argaggs_if. * ipa-sra.cc (zap_useless_ipcp_results): Use remove_argaggs_if to filter aggreagate constants.
Diffstat (limited to 'libstdc++-v3/src')
0 files changed, 0 insertions, 0 deletions