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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:820d1aec89c43dbbc70d3d0b888201878388454c

commit r14-1706-g820d1aec89c43dbbc70d3d0b888201878388454c
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Jun 12 10:17:26 2023 +0200

    middle-end/110200 - genmatch force-leaf and convert interaction

    The following fixes code GENERIC generation for (convert! ...)
    which currently generates

      if (TREE_TYPE (_o1[0]) != type)
        _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
        if (EXPR_P (_r1))
          goto next_after_fail867;
      else
        _r1 = _o1[0];

    where obviously braces are missing.

            PR middle-end/110200
            * genmatch.cc (expr::gen_transform): Put braces around
            the if arm for the (convert ...) short-cut.

Reply via email to