Every performant compiler on the SPECcpu benchmarks does this.
Clang has this too.
Re:GCC-Rust: Rust frontend for GCC
by StreamBright on Sunday December 08, 2019 @10:02AM
(#21736179)
Not as much as GCC.
https://joelaro.wordpress.com/2015/09/30/gcc-optimization-fd...