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

--- Comment #13 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:08f263e703c4100fa7b9f08cb26cee6c0bd75e4a

commit r12-7764-g08f263e703c4100fa7b9f08cb26cee6c0bd75e4a
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Mar 22 12:28:30 2022 +0100

    tree-optimization/105012 - fix ICE from local DSE of if-conversion

    The following guards dse_classify_store with the same condition as
    the DSE pass does - availability of a virtual definition.  For
    the PR we run into the fortran frontend generating a clobber for
    a FUNCTION_DECL lhs which is ignored by the operand scanner and has
    no virtual operands assigned.  Apart from fixing the frontend the
    following fixes the ICE by adjusting if-conversion.

    2022-03-22  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/105012
            * tree-if-conv.cc (ifcvt_local_dce): Only call
            dse_classify_store when we have a VDEF.

Reply via email to