https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110200
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:5bf1c33a5e619564e8602601cc1beebd99e1fb9e commit r11-10856-g5bf1c33a5e619564e8602601cc1beebd99e1fb9e 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.c (expr::gen_transform): Put braces around the if arm for the (convert ...) short-cut. (cherry picked from commit 820d1aec89c43dbbc70d3d0b888201878388454c)