diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2024-07-22 19:00:39 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@ucw.cz> | 2024-07-22 22:56:08 +0200 |
commit | 9ddd5f88e60972147dff74b48658e2b12040d468 (patch) | |
tree | 23801ed57e58b2965d622b0eb700524dc29bdce2 /libf2c | |
parent | bd535b46aaffe637b2eeb634e56ee6e9efa511bf (diff) | |
download | gcc-releases/gcc-14.zip gcc-releases/gcc-14.tar.gz gcc-releases/gcc-14.tar.bz2 |
Fix modref's iteraction with store mergingreleases/gcc-14
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.
(cherry picked from commit 14074773350ffed7efdebbc553adf0f23b572e87)
Diffstat (limited to 'libf2c')
0 files changed, 0 insertions, 0 deletions