https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106163
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Most likely the code here needs to be changed slightly. fprintf_indent (f, indent, "if (TREE_SIDE_EFFECTS (captures[%d]))\n", i); Or maybe the code which sets TREE_SIDE_EFFECTS should be fixed ...