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

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

https://gcc.gnu.org/g:d85e5aeb7665ea941ff0ef7c11bfe1d39986b48a

commit r13-1795-gd85e5aeb7665ea941ff0ef7c11bfe1d39986b48a
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Jul 22 10:13:06 2022 +0200

    tree-optimization/106403 - fix ICE with VN of .STORE_LANES

    While .STORE_LANES is not supported by the recent VN patch we were
    still accessing the stored value and valueizing it - but
    internal_fn_stored_value_index does not support .STORE_LANES and
    we failed to honor that case.  Fixed by simply moving the affected
    code below the check for the actual supported internal functions.

            PR tree-optimization/106403
            * tree-ssa-sccvn.cc (vn_reference_lookup_3): Move stored
            value valueization after check for IFN_MASKED_STORE or
            IFN_LEN_STORE.

Reply via email to