[PATCH] ipa/102714 - IPA SRA eliding volatile

2021-10-28 Thread duan.db via Gcc-patches
Hi. This patch fix the pr102714 in the trunk. Should we backport this patch to gcc-10? If needed, an adapted patch is attached. Thanks, Bo Duan 0001-Subject-PATCH-ipa-102714-IPA-SRA-eliding-volatile.patch Description: Binary data

[PATCH] ipa/102714 - IPA SRA eliding volatile

2021-10-13 Thread Richard Biener via Gcc-patches
The following fixes the volatileness check of IPA SRA which was looking at the innermost reference when checking TREE_THIS_VOLATILE but the reference to check is the outermost one. Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed. 2021-10-13 Richard Biener PR ipa/102714