[Bug target/105484] [11/12/13 Regression] ICE: verify_flow_info failed: BB 2 cannot throw but has an EH edge with -Os -march=cannonlake -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop since r11-5074-g287cc750b0887e86

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 5 08:37:04 GMT 2022


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

--- Comment #6 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:e1a41143a2e24c65d94364fd82b165ff71a759d8

commit r13-129-ge1a41143a2e24c65d94364fd82b165ff71a759d8
Author: Richard Biener <rguenther@suse.de>
Date:   Thu May 5 09:34:59 2022 +0200

    tree-optimization/105484 - VEC_SET and EH

    When the IL representation of VEC_SET is marked as throwing
    (unnecessarily), we need to clean that when replacing it with
    the .VEC_SET internal function call which cannot throw.

    2022-05-05  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/105484
            * gimple-isel.cc (gimple_expand_vec_set_expr): Clean EH, return
            whether the CFG changed.
            (gimple_expand_vec_exprs): When the CFG changed, clean it up.

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


More information about the Gcc-bugs mailing list