commit | feeb0d68f1c7085199c3734e6517a3a4b58309ef | [log] [tgz] |
---|---|---|
author | Martin Jambor <mjambor@suse.cz> | Tue Nov 22 18:22:03 2022 +0100 |
committer | Martin Jambor <mjambor@suse.cz> | Tue Nov 22 18:29:06 2022 +0100 |
tree | 6757f67a12d3ba4459d41d8c46465feabcb4cb05 | |
parent | c826a041081bfe9171353159a41da29b4667cdc0 [diff] |
ipa-cp: Do not consider useless aggregate constants When building vectors of known aggregate values, there is no point in including those for parameters which are not used in any way whatsoever. This patch avoids that together with also other kinds of constants. gcc/ChangeLog: 2022-11-13 Martin Jambor <mjambor@suse.cz> * ipa-cp.cc (push_agg_values_from_edge): Do not consider constants in unused aggregate parameters.