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

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

https://gcc.gnu.org/g:a9a425df628ab80374cc6a132d39e470bc78c8bc

commit r13-8480-ga9a425df628ab80374cc6a132d39e470bc78c8bc
Author: Richard Biener <rguent...@suse.de>
Date:   Fri Feb 23 16:06:05 2024 +0100

    middle-end/114070 - folding breaking VEC_COND expansion

    The following properly guards the simplifications that move
    operations into VEC_CONDs, in particular when that changes the
    type constraints on this operation.

    This needed a genmatch fix which was recording spurious implicit fors
    when tcc_comparison is used in a C expression.

            PR middle-end/114070
            * genmatch.cc (parser::parse_c_expr): Do not record operand
            lists but only mark operators used.
            * match.pd ((c ? a : b) op (c ? d : e)  -->  c ? (a op d) : (b op
e)):
            Properly guard the case of tcc_comparison changing the VEC_COND
            value operand type.

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

    (cherry picked from commit af66ad89e8169f44db723813662917cf4cbb78fc)
  • [Bug middle-end/114070] [12/13 ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to