[Bug tree-optimization/103204] [11 Regression] ICE: in vn_reference_insert_pieces, at tree-ssa-sccvn.c:3842 (on -O2 and above) since r12-1295-g7a56d3d3e99cc77a
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 22 08:00:49 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103204
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:5571c2719269687ad518d5aadf248a7500f11f85
commit r11-9260-g5571c2719269687ad518d5aadf248a7500f11f85
Author: Richard Biener <rguenther@suse.de>
Date: Fri Nov 12 09:09:29 2021 +0100
tree-optimization/103204 - fix missed valueization in VN
The following fixes a missed valueization when simplifying
a MEM[&...] combination during valueization.
2021-11-12 Richard Biener <rguenther@suse.de>
PR tree-optimization/103204
* tree-ssa-sccvn.c (valueize_refs_1): Re-valueize the
top operand after folding in an address.
* gcc.dg/torture/pr103204.c: New testcase.
(cherry picked from commit 140346fa246dc2476c5c2bf2ecadebd18a3af5d0)
More information about the Gcc-bugs
mailing list