summaryrefslogtreecommitdiff
path: root/libquadmath/ChangeLog
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2025-05-14 12:08:24 +0200
committerMartin Jambor <jamborm@gcc.gnu.org>2025-05-22 23:10:58 +0200
commit92d8b9970ea2ed59010a5f1a394cb98adffa63e8 (patch)
tree7d55816365cbde719160cf42ec81921aad5efa1f /libquadmath/ChangeLog
parentd36a87c27663221403947c3aed58994288b7df0a (diff)
tree-sra: Do not create stores into const aggregates (PR111873)
This patch fixes (hopefully the) one remaining place where gimple SRA was still creating a load into const aggregates. It occurs when there is a replacement for a load but that replacement is not type compatible - typically because it is a single field structure. I have used testcases from duplicates because the original test-case no longer reproduces for me. gcc/ChangeLog: 2025-05-13 Martin Jambor <mjambor@suse.cz> PR tree-optimization/111873 * tree-sra.cc (sra_modify_expr): When processing a load which has a type-incompatible replacement, do not store the contents of the replacement into the original aggregate when that aggregate is const. gcc/testsuite/ChangeLog: 2025-05-13 Martin Jambor <mjambor@suse.cz> * gcc.dg/ipa/pr120044-1.c: New test. * gcc.dg/ipa/pr120044-2.c: Likewise. * gcc.dg/tree-ssa/pr114864.c: Likewise. (cherry picked from commit 9d039eff453f777c58642ff16178c1ce2a4be6ab)
Diffstat (limited to 'libquadmath/ChangeLog')
0 files changed, 0 insertions, 0 deletions