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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Jakub Jelinek
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:7b9e837e769474fa5e91958dd2a479837b1176cb

commit r12-9279-g7b9e837e769474fa5e91958dd2a479837b1176cb
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Wed Mar 1 10:26:46 2023 +0100

    cfgexpand: Handle WIDEN_{PLUS,MINUS}_EXPR and
VEC_WIDEN_{PLUS,MINUS}_{HI,LO}_EXPR in expand_debug_expr [PR108967]

    When these tree codes were introduced, expand_debug_expr hasn't been
    updated to handle them.  For the VEC_*_EXPR we currently mostly punt, the
    non-vector ones can be handled easily.  In release compilers this doesn't
    ICE, but with checking we ICE so that we make sure to handle all the needed
    tree codes there.

    2023-03-01  Jakub Jelinek  <ja...@redhat.com>

            PR debug/108967
            * cfgexpand.cc (expand_debug_expr): Handle WIDEN_{PLUS,MINUS}_EXPR
            and VEC_WIDEN_{PLUS,MINUS}_{HI,LO}_EXPR.

            * g++.dg/debug/pr108967.C: New test.

    (cherry picked from commit 520403f324a6ed8b527f39239709dd0841b992e2)

Reply via email to