https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108626
--- Comment #2 from Marat Radchenko <marat at slonopotamus dot org> --- Thanks for the pointer to -fmerge-all-constants, that helped me to google out why such transformation is invalid: https://stackoverflow.com/a/70328102 Should I close this issue as INVALID (and probably open one against clang)?