https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93505
--- Comment #5 from Zdenek Sojka <zsojka at seznam dot cz> --- Created attachment 47738 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47738&action=edit only partially reduced testcase, with always defined shifts It also needs more flags to reproduce: -Os -fno-expensive-optimizations -fno-forward-propagate -fno-inline -fno-ipa-vrp -fno-tree-bit-ccp -fno-tree-ter (not all of those are needed; switching to -Og might help to reduce the number of needed flags) I've just deleted my gcc repo + binaries, so I can't test it atm.