]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/114048 - ICE in copy_reference_ops_from_ref
authorRichard Biener <rguenther@suse.de>
Thu, 22 Feb 2024 13:22:29 +0000 (14:22 +0100)
committerRichard Biener <rguenther@suse.de>
Thu, 22 Feb 2024 14:47:38 +0000 (15:47 +0100)
commit92c40297991f51e7fa942f29517bc4398fce33f9
tree9eefde52ab94f719d1cca169cf6a74c61048fe6b
parent549f251f055e3a0b0084189a3012c4f15d635e75
tree-optimization/114048 - ICE in copy_reference_ops_from_ref

The following adds another omission to the assert verifying we're
not running into spurious off == -1.

PR tree-optimization/114048
* tree-ssa-sccvn.cc (copy_reference_ops_from_ref): MEM_REF
can also produce -1 off.

* gcc.dg/torture/pr114048.c: New testcase.
gcc/testsuite/gcc.dg/torture/pr114048.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.cc