https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96603
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-08-13 CC| |msebor at gcc dot gnu.org Keywords| |missed-optimization Status|UNCONFIRMED |NEW Severity|normal |enhancement Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- I've been thinking about this transformation, not just for sizes of 2 but for larger objects as well. Looks like Clang 5 and later implements it for powers 2 up to 16 and does something slightly more involved for other small sizes of 10 bytes and less.