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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Oct 12 12:21:45 2019
New Revision: 276915

URL: https://gcc.gnu.org/viewcvs?rev=276915&root=gcc&view=rev
Log:
        PR middle-end/92063
        * tree-eh.c (operation_could_trap_helper_p) <case COND_EXPR>
        <case VEC_COND_EXPR>: Return false with *handled = false.
        (tree_could_trap_p): For {,VEC_}COND_EXPR return false instead of
        recursing on the first operand.
        * fold-const.c (simple_operand_p_2): Use generic_expr_could_trap_p
        instead of tree_could_trap_p.
        * tree-ssa-sccvn.c (vn_nary_may_trap): Formatting fixes.

        * gcc.c-torture/compile/pr92063.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr92063.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-eh.c
    trunk/gcc/tree-ssa-sccvn.c

Reply via email to