diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-09-20 12:32:13 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2024-09-20 12:38:26 +0200 |
commit | 16d2d177ac11b4d968d0ec7df9602b3f4059583d (patch) | |
tree | fca68d760d45564c20aa37b164b8bf1203ad9495 /gcc/fortran | |
parent | bf4a5efa80ef8438deb0a99c9a02b1f550aaf814 (diff) | |
download | gcc-16d2d177ac11b4d968d0ec7df9602b3f4059583d.zip gcc-16d2d177ac11b4d968d0ec7df9602b3f4059583d.tar.gz gcc-16d2d177ac11b4d968d0ec7df9602b3f4059583d.tar.bz2 |
Fix small thinko in IPA mod/ref pass
When a memory copy operation is analyzed by analyze_ssa_name, if both the
load and store are made through the same SSA name, the store is overlooked.
gcc/
* ipa-modref.cc (modref_eaf_analysis::analyze_ssa_name): Always
process both the load and the store of a memory copy operation.
gcc/testsuite/
* gcc.dg/ipa/modref-4.c: New test.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions