https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119153 --- Comment #2 from Zhihao Yuan <lichray at gmail dot com> --- Regression or not, if -fmerge-all-constants is acceptable, P2752 wouldn't exist: https://godbolt.org/z/TTfbj7jjE