https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89198
Roger Sayle <roger at nextmovesoftware dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |11.0 Status|UNCONFIRMED |RESOLVED CC| |roger at nextmovesoftware dot com Resolution|--- |FIXED --- Comment #2 from Roger Sayle <roger at nextmovesoftware dot com> --- GCC now generates a single lea instruction for both examples (as confirmed by the link to godbolt https://godbolt.org/z/I54SZr).