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

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

https://gcc.gnu.org/g:55bac5c2824dcb4bdae5b309b2b2a26703f273f0

commit r8-10800-g55bac5c2824dcb4bdae5b309b2b2a26703f273f0
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Jan 4 11:40:40 2021 +0100

    tree-optimization/98282 - classify V_C_E<constant> as nary

    This avoids running into memory reference code in compute_avail by
    properly classifying unfolded reference trees on constants.

    2021-01-04  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/98282
            * tree-ssa-sccvn.c (vn_get_stmt_kind): Classify tcc_reference on
            invariants as VN_NARY.

            * g++.dg/opt/pr98282.C: New testcase.

    (cherry picked from commit edb7dbc25de455300ce066a2ebe728256ea46e3a)
  • [Bug tree-optimization/98282] [... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to