middle-end/108086 - reduce operand scanner use from inliner
authorRichard Biener <rguenther@suse.de>
Thu, 15 Dec 2022 10:30:21 +0000 (11:30 +0100)
committerRichard Biener <rguenther@suse.de>
Thu, 15 Dec 2022 10:32:16 +0000 (11:32 +0100)
commit930b3d6948f2cddc6a7fc4b35bafda1deabcd0c9
tree9038d9662cc0419a0c676a862286bfe080847457
parentbf3ce6f84a7a994a0fc87419b383b9ce4efed442
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.
gcc/tree-inline.cc