diff options
author | Richard Biener <rguenther@suse.de> | 2021-04-27 09:41:38 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-04-27 10:30:06 +0200 |
commit | acfe5290406cc70485df8899d14982278a9371f8 (patch) | |
tree | f52f3166eb0719caad9159e11b06eb35b6f394a7 /gcc/tree-ssa-alias.c | |
parent | 71c8aaf29bb122ebe5e67c84903fd23ff05f04ec (diff) | |
download | gcc-acfe5290406cc70485df8899d14982278a9371f8.zip gcc-acfe5290406cc70485df8899d14982278a9371f8.tar.gz gcc-acfe5290406cc70485df8899d14982278a9371f8.tar.bz2 |
tree-optimization/100278 - handle mismatched code in TBAA adjust of PRE
PRE has code to adjust TBAA behavior for refs that expects the base
operation code to match. The testcase shows a case where we have
a VAR_DECL vs. a MEM_REF so add code to give up in such cases.
2021-04-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/100278
* tree-ssa-pre.c (compute_avail): Give up when we cannot
adjust TBAA beacuse of mismatching bases.
* gcc.dg/tree-ssa/pr100278.c: New testcase.
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions