https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108086
--- Comment #8 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:930b3d6948f2cddc6a7fc4b35bafda1deabcd0c9 commit r13-4714-g930b3d6948f2cddc6a7fc4b35bafda1deabcd0c9 Author: Richard Biener <rguent...@suse.de> Date: Thu Dec 15 11:30:21 2022 +0100 middle-end/108086 - reduce operand scanner use from inliner The following avoids a redundant second operand scan on all stmts during inlining which shows with PR108086. PR middle-end/108086 * tree-inline.cc (copy_edges_for_bb): Do not update all stmts again.