https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108086
--- Comment #10 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:711e0acdbb2645f5a8aa89014488c24e89ccb0f7 commit r13-4738-g711e0acdbb2645f5a8aa89014488c24e89ccb0f7 Author: Richard Biener <rguent...@suse.de> Date: Fri Dec 16 09:25:40 2022 +0100 middle-end/108086 - more operand scanner reduction in inlining There's another round of redundant operand scanning in remap_gimple_stmt. The following removes this and also improves one special-case to call a cheaper inline function. PR middle-end/108086 * tree-inline.cc (remap_gimple_stmt): Add stmts to the sequence without updating them. Simplify x == x detection.