diff options
author | Jan Hubicka <jh@suse.cz> | 2021-11-13 01:51:25 +0100 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2021-11-13 01:51:25 +0100 |
commit | 2f3d43a35155685b1795b4392e20e1c14a33c38f (patch) | |
tree | 62c93bdcc3a21cb6f0f23479da2bc320a6c33e57 /gcc/tree-ssa-alias.h | |
parent | 60f761c7e54f96a287c73a71d0b09ee2b2f8426d (diff) | |
download | gcc-2f3d43a35155685b1795b4392e20e1c14a33c38f.zip gcc-2f3d43a35155685b1795b4392e20e1c14a33c38f.tar.gz gcc-2f3d43a35155685b1795b4392e20e1c14a33c38f.tar.bz2 |
Fix wrong code with modref and some builtins.
ipa-modref gets confused by EAF flags of memcpy becuase parameter 1 is
escaping but used only directly. In modref we do not track values saved to
memory and thus we clear all other flags on each store. This needs to also
happen when called function escapes parameter.
gcc/ChangeLog:
PR tree-optimization/103182
* ipa-modref.c (callee_to_caller_flags): Fix merging of flags.
(modref_eaf_analysis::analyze_ssa_name): Fix merging of flags.
Diffstat (limited to 'gcc/tree-ssa-alias.h')
0 files changed, 0 insertions, 0 deletions