diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2024-07-22 19:00:39 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@ucw.cz> | 2024-07-22 19:01:05 +0200 |
commit | 14074773350ffed7efdebbc553adf0f23b572e87 (patch) | |
tree | f20e7a7f9cdf522cc4b083425429fd6536ae8f8a /gcc/dwarf2codeview.h | |
parent | 05f0e9eec9f9beeffe024ecd6566b41200d79cff (diff) | |
download | gcc-14074773350ffed7efdebbc553adf0f23b572e87.zip gcc-14074773350ffed7efdebbc553adf0f23b572e87.tar.gz gcc-14074773350ffed7efdebbc553adf0f23b572e87.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/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions