diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2024-07-22 19:00:39 +0200 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2024-07-28 19:05:45 +0200 |
commit | 087a28832a28543872386e6e98692e1b9ea93bdf (patch) | |
tree | 1b75646bb8434a4012cf6f1ce90f32ae5e2d9973 /gcc/cp/tree.cc | |
parent | 2a3e29507eafc2d5c9119ea138c3d6257e89e459 (diff) | |
download | gcc-087a28832a28543872386e6e98692e1b9ea93bdf.zip gcc-087a28832a28543872386e6e98692e1b9ea93bdf.tar.gz gcc-087a28832a28543872386e6e98692e1b9ea93bdf.tar.bz2 |
Fix modref's iteraction with store merging
Hi,
this patch fixes wrong code in case store-merging introduces load of function
parameter that was previously write-only (which happens for bitfields).
Without this, the whole store-merged area is consdered to be killed.
PR ipa/111613
gcc/ChangeLog:
* ipa-modref.cc (analyze_parms): Do not preserve EAF_NO_DIRECT_READ and
EAF_NO_INDIRECT_READ from past flags.
gcc/testsuite/ChangeLog:
* gcc.c-torture/pr111613.c: New test.
Diffstat (limited to 'gcc/cp/tree.cc')
0 files changed, 0 insertions, 0 deletions