diff options
author | Richard Biener <rguenther@suse.de> | 2022-04-05 16:06:10 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-04-06 08:21:43 +0200 |
commit | 86242eb1bd03eba82d8e22b01b16925d43bcc539 (patch) | |
tree | 58ed0740e9e26006698bd45272cc212f46a357d3 /gcc/combine.cc | |
parent | 6d4bbee4f59c7102f8ed9b6774f0b2d9f6ff4365 (diff) | |
download | gcc-86242eb1bd03eba82d8e22b01b16925d43bcc539.zip gcc-86242eb1bd03eba82d8e22b01b16925d43bcc539.tar.gz gcc-86242eb1bd03eba82d8e22b01b16925d43bcc539.tar.bz2 |
tree-optimization/105148 - fix IVOPTs recording uses
The following fixes recording uses in ARRAY_REFs with non-constant
element size or low bound.
2022-04-05 Richard Biener <rguenther@suse.de>
PR tree-optimization/105148
* tree-ssa-loop-ivopts.cc (idx_record_use): Walk raw operands
2 and 3 of ARRAY_REFs.
* gcc.dg/torture/pr105148.c: New testcase.
Diffstat (limited to 'gcc/combine.cc')
0 files changed, 0 insertions, 0 deletions