[Bug tree-optimization/103204] [11/12 Regression] ICE: in vn_reference_insert_pieces, at tree-ssa-sccvn.c:3842 (on -O2 and above)

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 12 09:05:55 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103204

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:140346fa246dc2476c5c2bf2ecadebd18a3af5d0

commit r12-5189-g140346fa246dc2476c5c2bf2ecadebd18a3af5d0
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.


More information about the Gcc-bugs mailing list