[Bug tree-optimization/98786] [8/9/10 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 10 which are marked as MUST COALESCE.)

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 5 09:42:12 GMT 2021


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

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

https://gcc.gnu.org/g:329f730fd1daa7cdae4a637244d4e215f9bb9a8c

commit r10-9800-g329f730fd1daa7cdae4a637244d4e215f9bb9a8c
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Jan 22 10:34:42 2021 +0100

    tree-optimization/98786 - fix issue with phiopt and abnormals

    This fixes factor_out_conditional_conversion to avoid creating overlapping
    lifetimes for abnormals.

    2021-01-22  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/98786
            * tree-ssa-phiopt.c (factor_out_conditional_conversion): Avoid
            adding new uses of abnormals.

            * gcc.dg/torture/pr98786.c: New testcase.


More information about the Gcc-bugs mailing list